#CFC45B#CFC45B
#CFC45B is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.127 H 103.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC45B |
|---|---|
| RGB | rgb(207, 196, 91) |
| HSL | hsl(54, 55%, 58%) |
| HSV | hsv(54, 56%, 81%) |
| CMYK | cmyk(0%, 5.3%, 56%, 18.8%) |
| CIE-LAB | lab(78.17, -9.51, 53.15) |
| CIE-LCH | lch(78.17, 54.00, 100.14°) |
| OKLab | oklab(80.85% -0.0293 0.1236) |
| OKLCH | oklch(80.85% 0.127 103.3) |
| XYZ | xyz(47.3619, 53.5022, 17.7276) |
| Luminance | 0.5350 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.46
Darkkhaki
#BDB76B
ΔE00 5.76
Vomit Yellow
#C7C10C
ΔE00 6.09
Puke Yellow
#C2BE0E
ΔE00 6.16
Dirty Yellow
#CDC50A
ΔE00 6.24
Ugly Yellow
#D0C101
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC45B #5B66CF
analogous
#CF8A5B #CFC45B #A0CF5B
triadic
#CFC45B #5BCFC4 #C45BCF
tetradic
#CFC45B #5BCF8A #5B66CF #CF5BA0
square
#CFC45B #5BCF8A #5B66CF #CF5BA0
split-complementary
#CFC45B #5BA0CF #8A5BCF
monochromatic
#887F28 #B7AB36 #CFC45B #DDD58A #EBE6BA
Accessibility & contrast
On white
1.79
#CFC45B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.70
#CFC45B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC45B
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC45B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC45B | 1.00 | 1.79 | 11.70 | 11.70 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE50
Deuteranopia (green-blind)
#D7C460
Tritanopia (blue-blind)
#DDB8AD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc45b; /* rgb */ color: rgb(207, 196, 91); /* oklch */ color: oklch(80.9% 0.127 103.3);
Tailwind
colors: {
custom: {
50: '#e0d58d',
500: '#cfc45b',
950: '#000000',
},
}SCSS
$custom: #cfc45b; $custom-light: #e0d58d; $custom-dark: #000000;
JSON
{
"hex": "#cfc45b",
"rgb": {
"r": 207,
"g": 196,
"b": 91
},
"hsl": {
"h": 54.31,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.80854,
"c": 0.12706,
"h": 103.3
},
"luminance": 0.53501
}Semantic roles & 50–950 ramp
primary
#CFC45B
secondary
#40478F
accent
#58DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F