#CFB03C#CFB03C
#CFB03C is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.135 H 93.7°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB03C |
|---|---|
| RGB | rgb(207, 176, 60) |
| HSL | hsl(47, 60%, 52%) |
| HSV | hsv(47, 71%, 81%) |
| CMYK | cmyk(0%, 15%, 71%, 18.8%) |
| CIE-LAB | lab(72.66, -1.08, 60.64) |
| CIE-LCH | lch(72.66, 60.64, 91.02°) |
| OKLab | oklab(76.4% -0.0088 0.135) |
| OKLCH | oklch(76.4% 0.135 93.7) |
| XYZ | xyz(42.0753, 44.6447, 10.6752) |
| Luminance | 0.4464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.00
Brownish Yellow
#C9B003
ΔE00 4.00
Burnt Yellow
#D5AB09
ΔE00 4.00
Mustard (survey)
#CEB301
ΔE00 4.04
Dark Yellow
#D5B60A
ΔE00 4.04
Gold (survey)
#DBB40C
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB03C #3C5BCF
analogous
#CF673C #CFB03C #A5CF3C
triadic
#CFB03C #3CCFB0 #B03CCF
tetradic
#CFB03C #3CCF67 #3C5BCF #CF3CA5
square
#CFB03C #3CCF67 #3C5BCF #CF3CA5
split-complementary
#CFB03C #3CA5CF #673CCF
monochromatic
#74621D #A58B29 #CFB03C #DBC46D #E7D89E
Accessibility & contrast
On white
2.12
#CFB03C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#CFB03C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB03C
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB03C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB03C | 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)
#C3AD2B
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#E0A299
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfb03c; /* rgb */ color: rgb(207, 176, 60); /* oklch */ color: oklch(76.4% 0.135 93.7);
Tailwind
colors: {
custom: {
50: '#e2c779',
500: '#cfb03c',
950: '#000000',
},
}SCSS
$custom: #cfb03c; $custom-light: #e2c779; $custom-dark: #000000;
JSON
{
"hex": "#cfb03c",
"rgb": {
"r": 207,
"g": 176,
"b": 60
},
"hsl": {
"h": 47.347,
"s": 60.494,
"l": 52.353
},
"oklch": {
"l": 0.764,
"c": 0.13525,
"h": 93.7
},
"luminance": 0.44642
}Semantic roles & 50–950 ramp
primary
#CFB03C
secondary
#93A1D3
accent
#66E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B