#CFB54F#CFB54F
#CFB54F is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.125 H 95.0°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB54F |
|---|---|
| RGB | rgb(207, 181, 79) |
| HSL | hsl(48, 57%, 56%) |
| HSV | hsv(48, 62%, 81%) |
| CMYK | cmyk(0%, 12.6%, 61.8%, 18.8%) |
| CIE-LAB | lab(74.11, -2.60, 54.08) |
| CIE-LCH | lch(74.11, 54.14, 92.75°) |
| OKLab | oklab(77.6% -0.0109 0.1241) |
| OKLCH | oklch(77.6% 0.125 95) |
| XYZ | xyz(43.6692, 46.8798, 14.1441) |
| Luminance | 0.4688 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.70
Desert
#CCAD60
ΔE00 4.71
Brownish Yellow
#C9B003
ΔE00 5.45
Mustard (survey)
#CEB301
ΔE00 5.48
Dark Yellow
#D5B60A
ΔE00 5.49
Gold (survey)
#DBB40C
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB54F #4F69CF
analogous
#CF754F #CFB54F #A9CF4F
triadic
#CFB54F #4FCFB5 #B54FCF
tetradic
#CFB54F #4FCF75 #4F69CF #CF4FA9
square
#CFB54F #4FCF75 #4F69CF #CF4FA9
split-complementary
#CFB54F #4FA9CF #754FCF
monochromatic
#816E23 #B19730 #CFB54F #DCC97F #E9DDAF
Accessibility & contrast
On white
2.02
#CFB54F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#CFB54F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB54F
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB54F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB54F | 1.00 | 2.02 | 10.38 | 10.38 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B244
Deuteranopia (green-blind)
#CDBA54
Tritanopia (blue-blind)
#DEA89F
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfb54f; /* rgb */ color: rgb(207, 181, 79); /* oklch */ color: oklch(77.6% 0.125 95.0);
Tailwind
colors: {
custom: {
50: '#e1ca84',
500: '#cfb54f',
950: '#000000',
},
}SCSS
$custom: #cfb54f; $custom-light: #e1ca84; $custom-dark: #000000;
JSON
{
"hex": "#cfb54f",
"rgb": {
"r": 207,
"g": 181,
"b": 79
},
"hsl": {
"h": 47.813,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.776,
"c": 0.12459,
"h": 95
},
"luminance": 0.46878
}Semantic roles & 50–950 ramp
primary
#CFB54F
secondary
#A2ADD7
accent
#66E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C