#CBA138#CBA138
#CBA138 is a light, vivid orange. Relative luminance 0.385; OKLCH L 72.9% C 0.129 H 86.3°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CBA138 |
|---|---|
| RGB | rgb(203, 161, 56) |
| HSL | hsl(43, 59%, 51%) |
| HSV | hsv(43, 72%, 80%) |
| CMYK | cmyk(0%, 20.7%, 72.4%, 20.4%) |
| CIE-LAB | lab(68.37, 4.97, 57.83) |
| CIE-LCH | lch(68.37, 58.04, 85.08°) |
| OKLab | oklab(72.92% 0.0084 0.1284) |
| OKLCH | oklch(72.92% 0.129 86.3) |
| XYZ | xyz(38.0895, 38.4743, 9.1607) |
| Luminance | 0.3847 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellow Ochre
#CB9D06
ΔE00 3.32
Ocre
#C69C04
ΔE00 3.59
Goldenrod
#DAA520
ΔE00 3.80
Ocher
#BF9B0C
ΔE00 4.26
Burnt Yellow
#D5AB09
ΔE00 5.12
Camel (survey)
#C69F59
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBA138 #3862CB
analogous
#CB5738 #CBA138 #ACCB38
triadic
#CBA138 #38CBA1 #A138CB
tetradic
#CBA138 #38CB57 #3862CB #CB38AC
square
#CBA138 #38CB57 #3862CB #CB38AC
split-complementary
#CBA138 #38ACCB #5738CB
monochromatic
#6C551C #9D7C29 #CBA138 #D8B869 #E4CF99
Accessibility & contrast
On white
2.42
#CBA138 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#CBA138 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBA138
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBA138 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBA138 | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#DC938C
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cba138; /* rgb */ color: rgb(203, 161, 56); /* oklch */ color: oklch(72.9% 0.129 86.3);
Tailwind
colors: {
custom: {
50: '#dfbc75',
500: '#cba138',
950: '#000000',
},
}SCSS
$custom: #cba138; $custom-light: #dfbc75; $custom-dark: #000000;
JSON
{
"hex": "#cba138",
"rgb": {
"r": 203,
"g": 161,
"b": 56
},
"hsl": {
"h": 42.857,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.72918,
"c": 0.12869,
"h": 86.3
},
"luminance": 0.38472
}Semantic roles & 50–950 ramp
primary
#CBA138
secondary
#8FA1D0
accent
#73E246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B