#CFB03A#CFB03A
#CFB03A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.137 H 93.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB03A |
|---|---|
| RGB | rgb(207, 176, 58) |
| HSL | hsl(48, 61%, 52%) |
| HSV | hsv(48, 72%, 81%) |
| CMYK | cmyk(0%, 15%, 72%, 18.8%) |
| CIE-LAB | lab(72.64, -1.18, 61.41) |
| CIE-LCH | lch(72.64, 61.42, 91.10°) |
| OKLab | oklab(76.38% -0.0093 0.1362) |
| OKLCH | oklch(76.38% 0.137 93.9) |
| XYZ | xyz(42.0234, 44.6239, 10.4020) |
| Luminance | 0.4462 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.90
Brownish Yellow
#C9B003
ΔE00 3.80
Mustard (survey)
#CEB301
ΔE00 3.84
Dark Yellow
#D5B60A
ΔE00 3.85
Burnt Yellow
#D5AB09
ΔE00 3.88
Gold (survey)
#DBB40C
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB03A #3A59CF
analogous
#CF663A #CFB03A #A3CF3A
triadic
#CFB03A #3ACFB0 #B03ACF
tetradic
#CFB03A #3ACF66 #3A59CF #CF3AA3
square
#CFB03A #3ACF66 #3A59CF #CF3AA3
split-complementary
#CFB03A #3AA3CF #663ACF
monochromatic
#73611C #A48A28 #CFB03A #DBC46B #E7D79C
Accessibility & contrast
On white
2.12
#CFB03A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#CFB03A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB03A
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB03A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB03A | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD28
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E0A298
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfb03a; /* rgb */ color: rgb(207, 176, 58); /* oklch */ color: oklch(76.4% 0.137 93.9);
Tailwind
colors: {
custom: {
50: '#e2c778',
500: '#cfb03a',
950: '#000000',
},
}SCSS
$custom: #cfb03a; $custom-light: #e2c778; $custom-dark: #000000;
JSON
{
"hex": "#cfb03a",
"rgb": {
"r": 207,
"g": 176,
"b": 58
},
"hsl": {
"h": 47.517,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.76384,
"c": 0.13654,
"h": 93.9
},
"luminance": 0.44622
}Semantic roles & 50–950 ramp
primary
#CFB03A
secondary
#929FD3
accent
#65E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B