#CBC93A#CBC93A
#CBC93A is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.157 H 108.6°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CBC93A |
|---|---|
| RGB | rgb(203, 201, 58) |
| HSL | hsl(59, 58%, 51%) |
| HSV | hsv(59, 71%, 80%) |
| CMYK | cmyk(0%, 1%, 71.4%, 20.4%) |
| CIE-LAB | lab(78.91, -15.75, 67.39) |
| CIE-LCH | lch(78.91, 69.20, 103.15°) |
| OKLab | oklab(81.28% -0.0503 0.149) |
| OKLCH | oklch(81.28% 0.157 108.6) |
| XYZ | xyz(46.2807, 54.7767, 12.1372) |
| Luminance | 0.5477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 3.07
Vomit Yellow
#C7C10C
ΔE00 3.08
Puke Yellow
#C2BE0E
ΔE00 3.38
Baby Puke Green
#B6C406
ΔE00 4.32
Bile
#B5C306
ΔE00 4.43
Ugly Yellow
#D0C101
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBC93A #3A3CCB
analogous
#CB803A #CBC93A #84CB3A
triadic
#CBC93A #3ACBC9 #C93ACB
tetradic
#CBC93A #3ACB80 #3A3CCB #CB3A84
square
#CBC93A #3ACB80 #3A3CCB #CB3A84
split-complementary
#CBC93A #3A84CB #803ACB
monochromatic
#6E6D1D #9E9C2A #CBC93A #D8D66A #E5E49B
Accessibility & contrast
On white
1.76
#CBC93A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.96
#CBC93A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBC93A
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBC93A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBC93A | 1.00 | 1.76 | 11.96 | 11.96 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C120
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#D9BCAD
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cbc93a; /* rgb */ color: rgb(203, 201, 58); /* oklch */ color: oklch(81.3% 0.157 108.6);
Tailwind
colors: {
custom: {
50: '#ded97a',
500: '#cbc93a',
950: '#000000',
},
}SCSS
$custom: #cbc93a; $custom-light: #ded97a; $custom-dark: #000000;
JSON
{
"hex": "#cbc93a",
"rgb": {
"r": 203,
"g": 201,
"b": 58
},
"hsl": {
"h": 59.172,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.8128,
"c": 0.15727,
"h": 108.6
},
"luminance": 0.54775
}Semantic roles & 50–950 ramp
primary
#CBC93A
secondary
#323377
accent
#48E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D