#CFB23C#CFB23C
#CFB23C is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.137 H 94.9°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB23C |
|---|---|
| RGB | rgb(207, 178, 60) |
| HSL | hsl(48, 60%, 52%) |
| HSV | hsv(48, 71%, 81%) |
| CMYK | cmyk(0%, 14%, 71%, 18.8%) |
| CIE-LAB | lab(73.18, -2.13, 61.15) |
| CIE-LCH | lch(73.18, 61.19, 92.00°) |
| OKLab | oklab(76.81% -0.0118 0.1361) |
| OKLCH | oklch(76.81% 0.137 94.9) |
| XYZ | xyz(42.4703, 45.4347, 10.8069) |
| Luminance | 0.4543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.15
Brownish Yellow
#C9B003
ΔE00 3.62
Mustard (survey)
#CEB301
ΔE00 3.63
Dark Yellow
#D5B60A
ΔE00 3.68
Gold (survey)
#DBB40C
ΔE00 4.12
Burnt Yellow
#D5AB09
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB23C #3C59CF
analogous
#CF683C #CFB23C #A3CF3C
triadic
#CFB23C #3CCFB2 #B23CCF
tetradic
#CFB23C #3CCF68 #3C59CF #CF3CA3
square
#CFB23C #3CCF68 #3C59CF #CF3CA3
split-complementary
#CFB23C #3CA3CF #683CCF
monochromatic
#74631D #A58D29 #CFB23C #DBC56D #E7D99E
Accessibility & contrast
On white
2.08
#CFB23C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.09
#CFB23C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB23C
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB23C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB23C | 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)
#C4AF2B
Deuteranopia (green-blind)
#CCB743
Tritanopia (blue-blind)
#DFA49A
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb23c; /* rgb */ color: rgb(207, 178, 60); /* oklch */ color: oklch(76.8% 0.137 94.9);
Tailwind
colors: {
custom: {
50: '#e2c879',
500: '#cfb23c',
950: '#000000',
},
}SCSS
$custom: #cfb23c; $custom-light: #e2c879; $custom-dark: #000000;
JSON
{
"hex": "#cfb23c",
"rgb": {
"r": 207,
"g": 178,
"b": 60
},
"hsl": {
"h": 48.163,
"s": 60.494,
"l": 52.353
},
"oklch": {
"l": 0.76811,
"c": 0.13657,
"h": 94.9
},
"luminance": 0.45432
}Semantic roles & 50–950 ramp
primary
#CFB23C
secondary
#93A0D3
accent
#64E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B