#CFE962#CFE962
#CFE962 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.9% C 0.162 H 119.0°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CFE962 |
|---|---|
| RGB | rgb(207, 233, 98) |
| HSL | hsl(72, 75%, 65%) |
| HSV | hsv(72, 58%, 91%) |
| CMYK | cmyk(11.2%, 0%, 57.9%, 8.6%) |
| CIE-LAB | lab(88.17, -27.19, 61.32) |
| CIE-LCH | lch(88.17, 67.08, 113.91°) |
| OKLab | oklab(88.87% -0.0786 0.1419) |
| OKLCH | oklch(88.87% 0.162 119) |
| XYZ | xyz(57.0765, 72.4254, 22.5256) |
| Luminance | 0.7242 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pear
#CBF85F
ΔE00 4.09
Sickly Yellow
#D0E429
ΔE00 5.06
Yellowy Green
#BFF128
ΔE00 5.42
Yellowish Green
#B0DD16
ΔE00 5.97
Light Yellow Green
#CCFD7F
ΔE00 6.00
Yellow Green
#C8FD3D
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFE962 #7C62E9
analogous
#E9C062 #CFE962 #8BE962
triadic
#CFE962 #62CFE9 #E962CF
tetradic
#CFE962 #62E9C0 #7C62E9 #E9628B
square
#CFE962 #62E9C0 #7C62E9 #E9628B
split-complementary
#CFE962 #628BE9 #C062E9
monochromatic
#99B71A #BFE12C #CFE962 #DFF198 #F0F8CD
Accessibility & contrast
On white
1.36
#CFE962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.49
#CFE962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFE962
15.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFE962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFE962 | 1.00 | 1.36 | 15.49 | 15.49 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DD53
Deuteranopia (green-blind)
#F4DE6B
Tritanopia (blue-blind)
#DADECC
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #cfe962; /* rgb */ color: rgb(207, 233, 98); /* oklch */ color: oklch(88.9% 0.162 119.0);
Tailwind
colors: {
custom: {
50: '#e0f093',
500: '#cfe962',
950: '#000000',
},
}SCSS
$custom: #cfe962; $custom-light: #e0f093; $custom-dark: #000000;
JSON
{
"hex": "#cfe962",
"rgb": {
"r": 207,
"g": 233,
"b": 98
},
"hsl": {
"h": 71.556,
"s": 75.419,
"l": 64.902
},
"oklch": {
"l": 0.88867,
"c": 0.16224,
"h": 119
},
"luminance": 0.72425
}Semantic roles & 50–950 ramp
primary
#CFE962
secondary
#5138B7
accent
#0ED835
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F