#CFD462#CFD462
#CFD462 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.3% C 0.138 H 111.3°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CFD462 |
|---|---|
| RGB | rgb(207, 212, 98) |
| HSL | hsl(63, 57%, 61%) |
| HSV | hsv(63, 54%, 83%) |
| CMYK | cmyk(2.4%, 0%, 53.8%, 16.9%) |
| CIE-LAB | lab(82.51, -17.02, 54.91) |
| CIE-LCH | lch(82.51, 57.48, 107.22°) |
| OKLab | oklab(84.33% -0.05 0.1282) |
| OKLCH | oklch(84.33% 0.138 111.3) |
| XYZ | xyz(51.4814, 61.2353, 20.6606) |
| Luminance | 0.6123 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.04
Greenish Tan
#BCCB7A
ΔE00 6.46
Dull Yellow
#EEDC5B
ΔE00 6.82
Green Yellow
#B5CE08
ΔE00 6.96
Sickly Yellow
#D0E429
ΔE00 6.97
Khaki (CSS)
#F0E68C
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFD462 #6762D4
analogous
#D4A062 #CFD462 #96D462
triadic
#CFD462 #62CFD4 #D462CF
tetradic
#CFD462 #62D4A0 #6762D4 #D46296
square
#CFD462 #62D4A0 #6762D4 #D46296
split-complementary
#CFD462 #6296D4 #A062D4
monochromatic
#8F9328 #BDC335 #CFD462 #DEE192 #ECEEC2
Accessibility & contrast
On white
1.59
#CFD462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.25
#CFD462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFD462
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFD462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFD462 | 1.00 | 1.59 | 13.25 | 13.25 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CC57
Deuteranopia (green-blind)
#E3CF68
Tritanopia (blue-blind)
#DBC9BB
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #cfd462; /* rgb */ color: rgb(207, 212, 98); /* oklch */ color: oklch(84.3% 0.138 111.3);
Tailwind
colors: {
custom: {
50: '#e0e192',
500: '#cfd462',
950: '#000000',
},
}SCSS
$custom: #cfd462; $custom-light: #e0e192; $custom-dark: #000000;
JSON
{
"hex": "#cfd462",
"rgb": {
"r": 207,
"g": 212,
"b": 98
},
"hsl": {
"h": 62.632,
"s": 57,
"l": 60.784
},
"oklch": {
"l": 0.84328,
"c": 0.13756,
"h": 111.3
},
"luminance": 0.61234
}Semantic roles & 50–950 ramp
primary
#CFD462
secondary
#454299
accent
#21C528
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F