#C8D398
Closest named color: Greenish Beige (#C9D179). oklch(84.4% 0.079 116.7), rgb(200, 211, 152).
Aa
Black text reads best on this color (13.22:1).
About this color
#C8D398 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.079 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.035 away. Black text reads best on it, at 13.22:1.
| Hue family | Yellows |
| Lightness | light (84%) |
| Chroma | moderately saturated (0.079) |
| Temperature | in between |
| Nearest name | Greenish Beige (#C9D179) |
| Black text | 13.22:1 |
| White text | 1.58:1 |
Values
| HEX | #C8D398 |
| RGB | rgb(200, 211, 152) |
| HSL | hsl(71, 40%, 71%) |
| OKLCH | oklch(84.4% 0.079 116.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #C8D398 | 1.58:1 | Fails | Lc -30.1 | Non-text elements, placeholder text |
| Black text on #C8D398 | 13.22:1 | AAA | Lc 77.2 | Fine for body text |
| #C8D398 text on white | 1.58:1 | Fails | Lc 26.6 | Dividers and decoration only |
| #C8D398 text on black | 13.22:1 | AAA | Lc -76.4 | Fine for body text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.
-
Step 50
50
#F5F6EF
oklch(97% 0.009 113.2)
-
Step 100
100
#E8ECDB
oklch(93.5% 0.023 117.6)
-
Step 200
200
#D7DDBD
oklch(88.4% 0.043 115.9)
-
Step 300
300 (this color)
#C8D398
oklch(84.4% 0.079 116.7)
-
Step 400
400
#9CAA46
oklch(70.6% 0.126 116.4)
-
Step 500
500
#859400
oklch(63.2% 0.145 116.7)
-
Step 600
600
#6F7C00
oklch(55.6% 0.128 116.8)
-
Step 700
700
#5D6800
oklch(49.1% 0.113 116.8)
-
Step 800
800
#4C5500
oklch(42.7% 0.098 116.6)
-
Step 900
900
#3F4700
oklch(37.7% 0.087 116.8)
-
Step 950
950
#252A00
oklch(27.1% 0.062 116.5)
#C8D398 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #DBCD94 | 0.028 |
| Deuteranopia (no green cones) | #DACE9A | 0.028 |
| Tritanopia (no blue cones) | #CECDC3 | 0.066 |
| Achromatopsia (no color) | #CDCDCD | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C8D398
#C8D398
oklch(84.4% 0.079 116.7)
- #D0C2FA
#D0C2FA
oklch(84.4% 0.078 296.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #C8D398, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Greenish Beige #C9D179 ΔE 0.035
- Pale Olive #B9CC81 ΔE 0.038
- Light Grey Green #B7E1A1 ΔE 0.038
- Greenish Tan #BCCB7A ΔE 0.042
- Pale Oak #DBCFB0 ΔE 0.047
- Sand #E2CA76 ΔE 0.047
- Ash Gray #BFC8AD ΔE 0.048
- Pale Olive Green #B1D27B ΔE 0.049
Use #C8D398 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.