#CFB34C#CFB34C
#CFB34C is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.126 H 94.0°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB34C |
|---|---|
| RGB | rgb(207, 179, 76) |
| HSL | hsl(47, 58%, 55%) |
| HSV | hsv(47, 63%, 81%) |
| CMYK | cmyk(0%, 13.5%, 63.3%, 18.8%) |
| CIE-LAB | lab(73.56, -1.75, 54.82) |
| CIE-LCH | lch(73.56, 54.85, 91.82°) |
| OKLab | oklab(77.16% -0.0088 0.1253) |
| OKLCH | oklch(77.16% 0.126 94) |
| XYZ | xyz(43.1587, 46.0296, 13.4474) |
| Luminance | 0.4603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.27
Desert
#CCAD60
ΔE00 4.44
Brownish Yellow
#C9B003
ΔE00 5.29
Dark Yellow
#D5B60A
ΔE00 5.33
Mustard (survey)
#CEB301
ΔE00 5.34
Gold (survey)
#DBB40C
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB34C #4C68CF
analogous
#CF724C #CFB34C #A9CF4C
triadic
#CFB34C #4CCFB3 #B34CCF
tetradic
#CFB34C #4CCF72 #4C68CF #CF4CA9
square
#CFB34C #4CCF72 #4C68CF #CF4CA9
split-complementary
#CFB34C #4CA9CF #724CCF
monochromatic
#7F6B22 #AF942F #CFB34C #DCC77C #E9DCAD
Accessibility & contrast
On white
2.06
#CFB34C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#CFB34C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB34C
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB34C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB34C | 1.00 | 2.06 | 10.21 | 10.21 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B040
Deuteranopia (green-blind)
#CCB851
Tritanopia (blue-blind)
#DFA69D
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cfb34c; /* rgb */ color: rgb(207, 179, 76); /* oklch */ color: oklch(77.2% 0.126 94.0);
Tailwind
colors: {
custom: {
50: '#e1c982',
500: '#cfb34c',
950: '#000000',
},
}SCSS
$custom: #cfb34c; $custom-light: #e1c982; $custom-dark: #000000;
JSON
{
"hex": "#cfb34c",
"rgb": {
"r": 207,
"g": 179,
"b": 76
},
"hsl": {
"h": 47.176,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.77158,
"c": 0.12558,
"h": 94
},
"luminance": 0.46027
}Semantic roles & 50–950 ramp
primary
#CFB34C
secondary
#A0ACD7
accent
#68E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C