#CFC25B#CFC25B
#CFC25B is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.125 H 102.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC25B |
|---|---|
| RGB | rgb(207, 194, 91) |
| HSL | hsl(53, 55%, 58%) |
| HSV | hsv(53, 56%, 81%) |
| CMYK | cmyk(0%, 6.3%, 56%, 18.8%) |
| CIE-LAB | lab(77.64, -8.48, 52.55) |
| CIE-LCH | lch(77.64, 53.23, 99.17°) |
| OKLab | oklab(80.43% -0.0264 0.1223) |
| OKLCH | oklch(80.43% 0.125 102.2) |
| XYZ | xyz(46.9138, 52.6060, 17.5783) |
| Luminance | 0.5260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.13
Darkkhaki
#BDB76B
ΔE00 5.51
Vomit Yellow
#C7C10C
ΔE00 6.33
Puke Yellow
#C2BE0E
ΔE00 6.37
Olive Yellow
#C2B709
ΔE00 6.44
Ugly Yellow
#D0C101
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC25B #5B68CF
analogous
#CF885B #CFC25B #A2CF5B
triadic
#CFC25B #5BCFC2 #C25BCF
tetradic
#CFC25B #5BCF88 #5B68CF #CF5BA2
square
#CFC25B #5BCF88 #5B68CF #CF5BA2
split-complementary
#CFC25B #5BA2CF #885BCF
monochromatic
#887D28 #B7A936 #CFC25B #DDD48A #EBE5BA
Accessibility & contrast
On white
1.82
#CFC25B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#CFC25B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC25B
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC25B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC25B | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BD51
Deuteranopia (green-blind)
#D6C260
Tritanopia (blue-blind)
#DDB6AB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc25b; /* rgb */ color: rgb(207, 194, 91); /* oklch */ color: oklch(80.4% 0.125 102.2);
Tailwind
colors: {
custom: {
50: '#e0d48d',
500: '#cfc25b',
950: '#000000',
},
}SCSS
$custom: #cfc25b; $custom-light: #e0d48d; $custom-dark: #000000;
JSON
{
"hex": "#cfc25b",
"rgb": {
"r": 207,
"g": 194,
"b": 91
},
"hsl": {
"h": 53.276,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.80434,
"c": 0.12515,
"h": 102.2
},
"luminance": 0.52604
}Semantic roles & 50–950 ramp
primary
#CFC25B
secondary
#40488F
accent
#5ADE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F