#CFB03B#CFB03B
#CFB03B is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.136 H 93.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB03B |
|---|---|
| RGB | rgb(207, 176, 59) |
| HSL | hsl(47, 61%, 52%) |
| HSV | hsv(47, 71%, 81%) |
| CMYK | cmyk(0%, 15%, 71.5%, 18.8%) |
| CIE-LAB | lab(72.65, -1.13, 61.02) |
| CIE-LCH | lch(72.65, 61.03, 91.06°) |
| OKLab | oklab(76.39% -0.009 0.1356) |
| OKLCH | oklch(76.39% 0.136 93.8) |
| XYZ | xyz(42.0491, 44.6342, 10.5373) |
| Luminance | 0.4463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.94
Brownish Yellow
#C9B003
ΔE00 3.90
Mustard (survey)
#CEB301
ΔE00 3.94
Burnt Yellow
#D5AB09
ΔE00 3.94
Dark Yellow
#D5B60A
ΔE00 3.95
Gold (survey)
#DBB40C
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB03B #3B5ACF
analogous
#CF663B #CFB03B #A4CF3B
triadic
#CFB03B #3BCFB0 #B03BCF
tetradic
#CFB03B #3BCF66 #3B5ACF #CF3BA4
square
#CFB03B #3BCF66 #3B5ACF #CF3BA4
split-complementary
#CFB03B #3BA4CF #663BCF
monochromatic
#73611C #A58A28 #CFB03B #DBC46C #E7D89D
Accessibility & contrast
On white
2.12
#CFB03B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#CFB03B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB03B
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB03B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB03B | 1.00 | 2.12 | 9.93 | 9.93 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD2A
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E0A299
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfb03b; /* rgb */ color: rgb(207, 176, 59); /* oklch */ color: oklch(76.4% 0.136 93.8);
Tailwind
colors: {
custom: {
50: '#e2c778',
500: '#cfb03b',
950: '#000000',
},
}SCSS
$custom: #cfb03b; $custom-light: #e2c778; $custom-dark: #000000;
JSON
{
"hex": "#cfb03b",
"rgb": {
"r": 207,
"g": 176,
"b": 59
},
"hsl": {
"h": 47.432,
"s": 60.656,
"l": 52.157
},
"oklch": {
"l": 0.76392,
"c": 0.1359,
"h": 93.8
},
"luminance": 0.44632
}Semantic roles & 50–950 ramp
primary
#CFB03B
secondary
#93A0D3
accent
#65E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B