#C7D397
Closest named color: Greenish Beige (#C9D179). oklch(84.3% 0.08 117.4), rgb(199, 211, 151).
Aa
Black text reads best on this color (13.19:1).
About this color
#C7D397 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.080 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.033 away. Black text reads best on it, at 13.19:1.
| Hue family | Yellows |
| Lightness | light (84%) |
| Chroma | moderately saturated (0.080) |
| Temperature | in between |
| Nearest name | Greenish Beige (#C9D179) |
| Black text | 13.19:1 |
| White text | 1.59:1 |
Values
| HEX | #C7D397 |
| RGB | rgb(199, 211, 151) |
| HSL | hsl(72, 41%, 71%) |
| OKLCH | oklch(84.3% 0.08 117.4) |
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 #C7D397 | 1.59:1 | Fails | Lc -30.2 | Non-text elements, placeholder text |
| Black text on #C7D397 | 13.19:1 | AAA | Lc 77.0 | Fine for body text |
| #C7D397 text on white | 1.59:1 | Fails | Lc 26.8 | Dividers and decoration only |
| #C7D397 text on black | 13.19:1 | AAA | Lc -76.2 | 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
#D6DEBD
oklch(88.6% 0.045 118.4)
-
Step 300
300 (this color)
#C7D397
oklch(84.3% 0.08 117.4)
-
Step 400
400
#9BAB45
oklch(70.8% 0.128 117.3)
-
Step 500
500
#839400
oklch(63.1% 0.146 117.6)
-
Step 600
600
#6E7C00
oklch(55.5% 0.128 117.3)
-
Step 700
700
#5C6800
oklch(49% 0.113 117.4)
-
Step 800
800
#4B5500
oklch(42.6% 0.098 117.3)
-
Step 900
900
#3E4700
oklch(37.7% 0.087 117.6)
-
Step 950
950
#242A00
oklch(27% 0.063 117.7)
#C7D397 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) | #DBCD93 | 0.029 |
| Deuteranopia (no green cones) | #DACD9A | 0.031 |
| Tritanopia (no blue cones) | #CDCDC3 | 0.067 |
| Achromatopsia (no color) | #CDCDCD | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #C7D397
#C7D397
oklch(84.3% 0.08 117.4)
- #D1C1FA
#D1C1FA
oklch(84.3% 0.08 297.5)
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 #C7D397, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Greenish Beige #C9D179 ΔE 0.033
- Pale Olive #B9CC81 ΔE 0.036
- Light Grey Green #B7E1A1 ΔE 0.038
- Greenish Tan #BCCB7A ΔE 0.040
- Sand #E2CA76 ΔE 0.047
- Pale Olive Green #B1D27B ΔE 0.047
- Pale Oak #DBCFB0 ΔE 0.048
- Ash Gray #BFC8AD ΔE 0.049
Use #C7D397 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.