#CFE788
Closest named color: Light Sage (#BCECAC). oklch(88.9% 0.123 120.5), rgb(207, 231, 136).
Aa
Black text reads best on this color (15.43:1).
About this color
#CFE788 is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.123 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Sage (#BCECAC), ΔE 0.042 away. Black text reads best on it, at 15.43:1.
| Hue family | Yellows |
| Lightness | light (89%) |
| Chroma | moderately saturated (0.123) |
| Temperature | in between |
| Nearest name | Light Sage (#BCECAC) |
| Black text | 15.43:1 |
| White text | 1.36:1 |
Values
| HEX | #CFE788 |
| RGB | rgb(207, 231, 136) |
| HSL | hsl(75, 66%, 72%) |
| OKLCH | oklch(88.9% 0.123 120.5) |
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 #CFE788 | 1.36:1 | Fails | Lc -20.1 | Dividers and decoration only |
| Black text on #CFE788 | 15.43:1 | AAA | Lc 86.1 | Fine for body text |
| #CFE788 text on white | 1.36:1 | Fails | Lc 17.6 | Dividers and decoration only |
| #CFE788 text on black | 15.43:1 | AAA | Lc -86.0 | 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 200.
-
Step 50
50
#F3F8E8
oklch(97.1% 0.022 121)
-
Step 100
100
#E5EFCD
oklch(93.6% 0.046 120.6)
-
Step 200
200 (this color)
#CFE788
oklch(88.9% 0.123 120.5)
-
Step 300
300
#B3CF4D
oklch(80.9% 0.158 120.4)
-
Step 400
400
#93AF00
oklch(70.7% 0.169 120.5)
-
Step 500
500
#7D9600
oklch(63.1% 0.151 120.8)
-
Step 600
600
#697E00
oklch(55.6% 0.133 120.6)
-
Step 700
700
#586A00
oklch(49.2% 0.117 120.6)
-
Step 800
800
#485700
oklch(42.9% 0.102 120.5)
-
Step 900
900
#3B4800
oklch(37.7% 0.09 120.7)
-
Step 950
950
#222B00
oklch(27.1% 0.065 121.1)
#CFE788 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) | #F2DD81 | 0.050 |
| Deuteranopia (no green cones) | #EFDD8D | 0.051 |
| Tritanopia (no blue cones) | #D7DED0 | 0.103 |
| Achromatopsia (no color) | #DDDDDD | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CFE788
#CFE788
oklch(88.9% 0.123 120.5)
- #E1D2FF
#E1D2FF
oklch(89% 0.063 300.3)
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 #CFE788, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Sage #BCECAC ΔE 0.042
- Washed Out Green #BCF5A6 ΔE 0.042
- Khaki #F0E68C ΔE 0.045
- Light Grey Green #B7E1A1 ΔE 0.046
- Light Khaki #E6F2A2 ΔE 0.050
- Pistachio #C0FA8B ΔE 0.051
- Sandy #F1DA7A ΔE 0.051
- Dull Yellow #EEDC5B ΔE 0.052
Use #CFE788 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.