#CFB23E#CFB23E
#CFB23E is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.135 H 94.8°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB23E |
|---|---|
| RGB | rgb(207, 178, 62) |
| HSL | hsl(48, 60%, 53%) |
| HSV | hsv(48, 70%, 81%) |
| CMYK | cmyk(0%, 14%, 70%, 18.8%) |
| CIE-LAB | lab(73.19, -2.03, 60.38) |
| CIE-LCH | lch(73.19, 60.41, 91.93°) |
| OKLab | oklab(76.83% -0.0113 0.1348) |
| OKLCH | oklch(76.83% 0.135 94.8) |
| XYZ | xyz(42.5242, 45.4563, 11.0906) |
| Luminance | 0.4545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.24
Brownish Yellow
#C9B003
ΔE00 3.83
Mustard (survey)
#CEB301
ΔE00 3.84
Dark Yellow
#D5B60A
ΔE00 3.88
Gold (survey)
#DBB40C
ΔE00 4.27
Burnt Yellow
#D5AB09
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB23E #3E5BCF
analogous
#CF693E #CFB23E #A3CF3E
triadic
#CFB23E #3ECFB2 #B23ECF
tetradic
#CFB23E #3ECF69 #3E5BCF #CF3EA3
square
#CFB23E #3ECF69 #3E5BCF #CF3EA3
split-complementary
#CFB23E #3EA3CF #693ECF
monochromatic
#75641D #A68D29 #CFB23E #DBC66F #E7D9A0
Accessibility & contrast
On white
2.08
#CFB23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.09
#CFB23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB23E
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB23E | 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)
#C4AF2E
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#DFA49A
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb23e; /* rgb */ color: rgb(207, 178, 62); /* oklch */ color: oklch(76.8% 0.135 94.8);
Tailwind
colors: {
custom: {
50: '#e1c87a',
500: '#cfb23e',
950: '#000000',
},
}SCSS
$custom: #cfb23e; $custom-light: #e1c87a; $custom-dark: #000000;
JSON
{
"hex": "#cfb23e",
"rgb": {
"r": 207,
"g": 178,
"b": 62
},
"hsl": {
"h": 48,
"s": 60.166,
"l": 52.745
},
"oklch": {
"l": 0.76826,
"c": 0.13525,
"h": 94.8
},
"luminance": 0.45454
}Semantic roles & 50–950 ramp
primary
#CFB23E
secondary
#95A2D4
accent
#64E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C