#CFB34F#CFB34F
#CFB34F is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.123 H 93.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB34F |
|---|---|
| RGB | rgb(207, 179, 79) |
| HSL | hsl(47, 57%, 56%) |
| HSV | hsv(47, 62%, 81%) |
| CMYK | cmyk(0%, 13.5%, 61.8%, 18.8%) |
| CIE-LAB | lab(73.59, -1.55, 53.50) |
| CIE-LCH | lch(73.59, 53.52, 91.66°) |
| OKLab | oklab(77.19% -0.0079 0.1229) |
| OKLCH | oklch(77.19% 0.123 93.7) |
| XYZ | xyz(43.2655, 46.0723, 14.0095) |
| Luminance | 0.4607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.08
Mustard
#DBB42C
ΔE00 4.55
Brownish Yellow
#C9B003
ΔE00 5.68
Dark Yellow
#D5B60A
ΔE00 5.71
Mustard (survey)
#CEB301
ΔE00 5.73
Tan (survey)
#D1B26F
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB34F #4F6BCF
analogous
#CF734F #CFB34F #ABCF4F
triadic
#CFB34F #4FCFB3 #B34FCF
tetradic
#CFB34F #4FCF73 #4F6BCF #CF4FAB
square
#CFB34F #4FCF73 #4F6BCF #CF4FAB
split-complementary
#CFB34F #4FABCF #734FCF
monochromatic
#816C23 #B19530 #CFB34F #DCC87F #E9DDAF
Accessibility & contrast
On white
2.06
#CFB34F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#CFB34F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB34F
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB34F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB34F | 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)
#C4B044
Deuteranopia (green-blind)
#CBB854
Tritanopia (blue-blind)
#DFA69D
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cfb34f; /* rgb */ color: rgb(207, 179, 79); /* oklch */ color: oklch(77.2% 0.123 93.7);
Tailwind
colors: {
custom: {
50: '#e1c984',
500: '#cfb34f',
950: '#000000',
},
}SCSS
$custom: #cfb34f; $custom-light: #e1c984; $custom-dark: #000000;
JSON
{
"hex": "#cfb34f",
"rgb": {
"r": 207,
"g": 179,
"b": 79
},
"hsl": {
"h": 46.875,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.77188,
"c": 0.12313,
"h": 93.7
},
"luminance": 0.4607
}Semantic roles & 50–950 ramp
primary
#CFB34F
secondary
#A2AED7
accent
#69E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C