#CFE072#CFE072
#CFE072 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.1% C 0.137 H 116.6°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CFE072 |
|---|---|
| RGB | rgb(207, 224, 114) |
| HSL | hsl(69, 64%, 66%) |
| HSV | hsv(69, 49%, 88%) |
| CMYK | cmyk(7.6%, 0%, 49.1%, 12.2%) |
| CIE-LAB | lab(85.90, -21.51, 51.48) |
| CIE-LCH | lch(85.90, 55.80, 112.67°) |
| OKLab | oklab(87.1% -0.0611 0.1222) |
| OKLCH | oklch(87.1% 0.137 116.6) |
| XYZ | xyz(55.4257, 67.7922, 26.0817) |
| Luminance | 0.6779 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.48
Greenish Tan
#BCCB7A
ΔE00 6.33
Light Khaki
#E6F2A2
ΔE00 6.53
Pale Olive Green
#B1D27B
ΔE00 6.82
Pear
#CBF85F
ΔE00 7.10
Sickly Yellow
#D0E429
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFE072 #8372E0
analogous
#E0BA72 #CFE072 #98E072
triadic
#CFE072 #72CFE0 #E072CF
tetradic
#CFE072 #72E0BA #8372E0 #E07298
square
#CFE072 #72E0BA #8372E0 #E07298
split-complementary
#CFE072 #7298E0 #BA72E0
monochromatic
#9BB127 #BED540 #CFE072 #E0EBA4 #F1F6D6
Accessibility & contrast
On white
1.44
#CFE072 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.56
#CFE072 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFE072
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFE072 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFE072 | 1.00 | 1.44 | 14.56 | 14.56 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD668
Deuteranopia (green-blind)
#EBD878
Tritanopia (blue-blind)
#D9D6C7
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #cfe072; /* rgb */ color: rgb(207, 224, 114); /* oklch */ color: oklch(87.1% 0.137 116.6);
Tailwind
colors: {
custom: {
50: '#dfe99d',
500: '#cfe072',
950: '#000000',
},
}SCSS
$custom: #cfe072; $custom-light: #dfe99d; $custom-dark: #000000;
JSON
{
"hex": "#cfe072",
"rgb": {
"r": 207,
"g": 224,
"b": 114
},
"hsl": {
"h": 69.273,
"s": 63.953,
"l": 66.275
},
"oklch": {
"l": 0.87099,
"c": 0.13666,
"h": 116.6
},
"luminance": 0.67792
}Semantic roles & 50–950 ramp
primary
#CFE072
secondary
#5544B2
accent
#1ACC35
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160E
muted
#84847F