#CFB23F#CFB23F
#CFB23F is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.135 H 94.7°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB23F |
|---|---|
| RGB | rgb(207, 178, 63) |
| HSL | hsl(48, 60%, 53%) |
| HSV | hsv(48, 70%, 81%) |
| CMYK | cmyk(0%, 14%, 69.6%, 18.8%) |
| CIE-LAB | lab(73.20, -1.98, 59.98) |
| CIE-LCH | lch(73.20, 60.01, 91.89°) |
| OKLab | oklab(76.83% -0.011 0.1341) |
| OKLCH | oklch(76.83% 0.135 94.7) |
| XYZ | xyz(42.5519, 45.4674, 11.2364) |
| Luminance | 0.4546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.29
Brownish Yellow
#C9B003
ΔE00 3.93
Mustard (survey)
#CEB301
ΔE00 3.95
Dark Yellow
#D5B60A
ΔE00 3.98
Gold (survey)
#DBB40C
ΔE00 4.35
Burnt Yellow
#D5AB09
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB23F #3F5CCF
analogous
#CF6A3F #CFB23F #A4CF3F
triadic
#CFB23F #3FCFB2 #B23FCF
tetradic
#CFB23F #3FCF6A #3F5CCF #CF3FA4
square
#CFB23F #3FCF6A #3F5CCF #CF3FA4
split-complementary
#CFB23F #3FA4CF #6A3FCF
monochromatic
#76641E #A78E2A #CFB23F #DBC670 #E7D9A1
Accessibility & contrast
On white
2.08
#CFB23F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.09
#CFB23F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB23F
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB23F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB23F | 1.00 | 2.08 | 10.09 | 10.09 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF2F
Deuteranopia (green-blind)
#CCB845
Tritanopia (blue-blind)
#DFA49B
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb23f; /* rgb */ color: rgb(207, 178, 63); /* oklch */ color: oklch(76.8% 0.135 94.7);
Tailwind
colors: {
custom: {
50: '#e1c87a',
500: '#cfb23f',
950: '#000000',
},
}SCSS
$custom: #cfb23f; $custom-light: #e1c87a; $custom-dark: #000000;
JSON
{
"hex": "#cfb23f",
"rgb": {
"r": 207,
"g": 178,
"b": 63
},
"hsl": {
"h": 47.917,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.76834,
"c": 0.13457,
"h": 94.7
},
"luminance": 0.45465
}Semantic roles & 50–950 ramp
primary
#CFB23F
secondary
#96A2D4
accent
#65E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C