#CBA23F#CBA23F
#CBA23F is a light, vivid orange. Relative luminance 0.389; OKLCH L 73.2% C 0.124 H 86.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CBA23F |
|---|---|
| RGB | rgb(203, 162, 63) |
| HSL | hsl(42, 57%, 52%) |
| HSV | hsv(42, 69%, 80%) |
| CMYK | cmyk(0%, 20.2%, 69%, 20.4%) |
| CIE-LAB | lab(68.68, 4.79, 55.21) |
| CIE-LCH | lch(68.68, 55.42, 85.04°) |
| OKLab | oklab(73.18% 0.0087 0.1242) |
| OKLCH | oklch(73.18% 0.124 86) |
| XYZ | xyz(38.4483, 38.8986, 10.1847) |
| Luminance | 0.3890 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellow Ochre
#CB9D06
ΔE00 4.09
Goldenrod
#DAA520
ΔE00 4.27
Ocre
#C69C04
ΔE00 4.33
Camel (survey)
#C69F59
ΔE00 4.69
Desert
#CCAD60
ΔE00 4.79
Ocher
#BF9B0C
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBA23F #3F68CB
analogous
#CB5C3F #CBA23F #AECB3F
triadic
#CBA23F #3FCBA2 #A23FCB
tetradic
#CBA23F #3FCB5C #3F68CB #CB3FAE
square
#CBA23F #3FCB5C #3F68CB #CB3FAE
split-complementary
#CBA23F #3FAECB #5C3FCB
monochromatic
#71591F #A17F2C #CBA23F #D8B96F #E5D19F
Accessibility & contrast
On white
2.39
#CBA23F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#CBA23F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBA23F
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBA23F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBA23F | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A133
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#DC948D
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cba23f; /* rgb */ color: rgb(203, 162, 63); /* oklch */ color: oklch(73.2% 0.124 86.0);
Tailwind
colors: {
custom: {
50: '#dfbd79',
500: '#cba23f',
950: '#000000',
},
}SCSS
$custom: #cba23f; $custom-light: #dfbd79; $custom-dark: #000000;
JSON
{
"hex": "#cba23f",
"rgb": {
"r": 203,
"g": 162,
"b": 63
},
"hsl": {
"h": 42.429,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.73178,
"c": 0.12446,
"h": 86
},
"luminance": 0.38896
}Semantic roles & 50–950 ramp
primary
#CBA23F
secondary
#94A6D1
accent
#74E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B