#CFB54E#CFB54E
#CFB54E is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.125 H 95.1°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB54E |
|---|---|
| RGB | rgb(207, 181, 78) |
| HSL | hsl(48, 57%, 56%) |
| HSV | hsv(48, 62%, 81%) |
| CMYK | cmyk(0%, 12.6%, 62.3%, 18.8%) |
| CIE-LAB | lab(74.10, -2.67, 54.52) |
| CIE-LCH | lch(74.10, 54.58, 92.80°) |
| OKLab | oklab(77.59% -0.0112 0.1249) |
| OKLCH | oklch(77.59% 0.125 95.1) |
| XYZ | xyz(43.6331, 46.8654, 13.9539) |
| Luminance | 0.4686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.62
Desert
#CCAD60
ΔE00 4.82
Brownish Yellow
#C9B003
ΔE00 5.32
Mustard (survey)
#CEB301
ΔE00 5.35
Dark Yellow
#D5B60A
ΔE00 5.36
Gold (survey)
#DBB40C
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB54E #4E68CF
analogous
#CF744E #CFB54E #A8CF4E
triadic
#CFB54E #4ECFB5 #B54ECF
tetradic
#CFB54E #4ECF74 #4E68CF #CF4EA8
square
#CFB54E #4ECF74 #4E68CF #CF4EA8
split-complementary
#CFB54E #4EA8CF #744ECF
monochromatic
#806D23 #B09630 #CFB54E #DCC97E #E9DDAE
Accessibility & contrast
On white
2.02
#CFB54E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#CFB54E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB54E
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB54E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB54E | 1.00 | 2.02 | 10.37 | 10.37 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B143
Deuteranopia (green-blind)
#CDBA53
Tritanopia (blue-blind)
#DFA89F
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfb54e; /* rgb */ color: rgb(207, 181, 78); /* oklch */ color: oklch(77.6% 0.125 95.1);
Tailwind
colors: {
custom: {
50: '#e1ca84',
500: '#cfb54e',
950: '#000000',
},
}SCSS
$custom: #cfb54e; $custom-light: #e1ca84; $custom-dark: #000000;
JSON
{
"hex": "#cfb54e",
"rgb": {
"r": 207,
"g": 181,
"b": 78
},
"hsl": {
"h": 47.907,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.7759,
"c": 0.12541,
"h": 95.1
},
"luminance": 0.46863
}Semantic roles & 50–950 ramp
primary
#CFB54E
secondary
#A2ACD7
accent
#66E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C