#CFE752#CFE752
#CFE752 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.3% C 0.172 H 117.9°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CFE752 |
|---|---|
| RGB | rgb(207, 231, 82) |
| HSL | hsl(70, 76%, 61%) |
| HSV | hsv(70, 65%, 91%) |
| CMYK | cmyk(10.4%, 0%, 64.5%, 9.4%) |
| CIE-LAB | lab(87.50, -27.37, 67.18) |
| CIE-LCH | lch(87.50, 72.54, 112.16°) |
| OKLab | oklab(88.28% -0.0807 0.1523) |
| OKLCH | oklch(88.28% 0.172 117.9) |
| XYZ | xyz(55.8321, 71.0269, 18.7493) |
| Luminance | 0.7103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.32
Pear
#CBF85F
ΔE00 4.76
Yellowy Green
#BFF128
ΔE00 4.80
Yellowish Green
#B0DD16
ΔE00 5.11
Greeny Yellow
#C6F808
ΔE00 5.93
Yellow Green
#C8FD3D
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFE752 #6A52E7
analogous
#E7B452 #CFE752 #85E752
triadic
#CFE752 #52CFE7 #E752CF
tetradic
#CFE752 #52E7B4 #6A52E7 #E75285
square
#CFE752 #52E7B4 #6A52E7 #E75285
split-complementary
#CFE752 #5285E7 #B452E7
monochromatic
#90A717 #BEDD1F #CFE752 #DEEE88 #EDF6BD
Accessibility & contrast
On white
1.38
#CFE752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.21
#CFE752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFE752
15.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFE752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFE752 | 1.00 | 1.38 | 15.21 | 15.21 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F3DC5D
Tritanopia (blue-blind)
#DBDBC9
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #cfe752; /* rgb */ color: rgb(207, 231, 82); /* oklch */ color: oklch(88.3% 0.172 117.9);
Tailwind
colors: {
custom: {
50: '#e1ee8a',
500: '#cfe752',
950: '#000000',
},
}SCSS
$custom: #cfe752; $custom-light: #e1ee8a; $custom-dark: #000000;
JSON
{
"hex": "#cfe752",
"rgb": {
"r": 207,
"g": 231,
"b": 82
},
"hsl": {
"h": 69.664,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.88282,
"c": 0.17231,
"h": 117.9
},
"luminance": 0.71026
}Semantic roles & 50–950 ramp
primary
#CFE752
secondary
#4734A9
accent
#0ED82E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F