#CBA938#CBA938
#CBA938 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.5% C 0.133 H 91.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CBA938 |
|---|---|
| RGB | rgb(203, 169, 56) |
| HSL | hsl(46, 59%, 51%) |
| HSV | hsv(46, 72%, 80%) |
| CMYK | cmyk(0%, 16.7%, 72.4%, 20.4%) |
| CIE-LAB | lab(70.43, 0.70, 59.87) |
| CIE-LCH | lch(70.43, 59.87, 89.33°) |
| OKLab | oklab(74.54% -0.0039 0.1328) |
| OKLCH | oklch(74.54% 0.133 91.7) |
| XYZ | xyz(39.5326, 41.3603, 9.6417) |
| Luminance | 0.4136 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.73
Mustard
#DBB42C
ΔE00 3.98
Ocher
#BF9B0C
ΔE00 4.48
Ocre
#C69C04
ΔE00 4.49
Yellow Ochre
#CB9D06
ΔE00 4.70
Brownish Yellow
#C9B003
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBA938 #385ACB
analogous
#CB5F38 #CBA938 #A4CB38
triadic
#CBA938 #38CBA9 #A938CB
tetradic
#CBA938 #38CB5F #385ACB #CB38A4
square
#CBA938 #38CB5F #385ACB #CB38A4
split-complementary
#CBA938 #38A4CB #5F38CB
monochromatic
#6C5A1C #9D8229 #CBA938 #D8BE69 #E4D399
Accessibility & contrast
On white
2.26
#CBA938 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#CBA938 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBA938
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBA938 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBA938 | 1.00 | 2.26 | 9.27 | 9.27 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA727
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#DC9B92
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #cba938; /* rgb */ color: rgb(203, 169, 56); /* oklch */ color: oklch(74.5% 0.133 91.7);
Tailwind
colors: {
custom: {
50: '#dfc276',
500: '#cba938',
950: '#000000',
},
}SCSS
$custom: #cba938; $custom-light: #dfc276; $custom-dark: #000000;
JSON
{
"hex": "#cba938",
"rgb": {
"r": 203,
"g": 169,
"b": 56
},
"hsl": {
"h": 46.122,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.7454,
"c": 0.13281,
"h": 91.7
},
"luminance": 0.41358
}Semantic roles & 50–950 ramp
primary
#CBA938
secondary
#8F9ED0
accent
#6AE246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B