#CFB54C#CFB54C
#CFB54C is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.6% C 0.127 H 95.3°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB54C |
|---|---|
| RGB | rgb(207, 181, 76) |
| HSL | hsl(48, 58%, 55%) |
| HSV | hsv(48, 63%, 81%) |
| CMYK | cmyk(0%, 12.6%, 63.3%, 18.8%) |
| CIE-LAB | lab(74.09, -2.80, 55.39) |
| CIE-LCH | lch(74.09, 55.46, 92.89°) |
| OKLab | oklab(77.57% -0.0118 0.1265) |
| OKLCH | oklch(77.57% 0.127 95.3) |
| XYZ | xyz(43.5625, 46.8371, 13.5820) |
| Luminance | 0.4683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.47
Desert
#CCAD60
ΔE00 5.04
Brownish Yellow
#C9B003
ΔE00 5.08
Mustard (survey)
#CEB301
ΔE00 5.10
Dark Yellow
#D5B60A
ΔE00 5.12
Gold (survey)
#DBB40C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB54C #4C66CF
analogous
#CF744C #CFB54C #A7CF4C
triadic
#CFB54C #4CCFB5 #B54CCF
tetradic
#CFB54C #4CCF74 #4C66CF #CF4CA7
square
#CFB54C #4CCF74 #4C66CF #CF4CA7
split-complementary
#CFB54C #4CA7CF #744CCF
monochromatic
#7F6C22 #AF952F #CFB54C #DCC97C #E9DDAD
Accessibility & contrast
On white
2.03
#CFB54C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#CFB54C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB54C
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB54C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB54C | 1.00 | 2.03 | 10.37 | 10.37 |
| #FFFFFF | 2.03 | 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)
#C6B140
Deuteranopia (green-blind)
#CDBA51
Tritanopia (blue-blind)
#DFA89F
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfb54c; /* rgb */ color: rgb(207, 181, 76); /* oklch */ color: oklch(77.6% 0.127 95.3);
Tailwind
colors: {
custom: {
50: '#e1ca82',
500: '#cfb54c',
950: '#000000',
},
}SCSS
$custom: #cfb54c; $custom-light: #e1ca82; $custom-dark: #000000;
JSON
{
"hex": "#cfb54c",
"rgb": {
"r": 207,
"g": 181,
"b": 76
},
"hsl": {
"h": 48.092,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.77569,
"c": 0.12703,
"h": 95.3
},
"luminance": 0.46835
}Semantic roles & 50–950 ramp
primary
#CFB54C
secondary
#A0ABD7
accent
#65E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C