#CB9940#CB9940
#CB9940 is a light, vivid orange. Relative luminance 0.358; OKLCH L 71.4% C 0.121 H 78.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CB9940 |
|---|---|
| RGB | rgb(203, 153, 64) |
| HSL | hsl(38, 57%, 52%) |
| HSV | hsv(38, 68%, 80%) |
| CMYK | cmyk(0%, 24.6%, 68.5%, 20.4%) |
| CIE-LAB | lab(66.41, 9.71, 52.38) |
| CIE-LCH | lch(66.41, 53.27, 79.50°) |
| OKLab | oklab(71.4% 0.0231 0.1183) |
| OKLCH | oklch(71.4% 0.121 78.9) |
| XYZ | xyz(36.9475, 35.8518, 9.8236) |
| Luminance | 0.3585 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Camel (survey)
#C69F59
ΔE00 3.93
Sand Brown
#CBA560
ΔE00 5.00
Ochre
#BF9005
ΔE00 5.61
Goldenrod
#DAA520
ΔE00 5.99
Yellow Ochre
#CB9D06
ΔE00 6.07
Caramel
#C68E4E
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB9940 #4072CB
analogous
#CB5340 #CB9940 #B8CB40
triadic
#CB9940 #40CB99 #9940CB
tetradic
#CB9940 #40CB53 #4072CB #CB40B8
square
#CB9940 #40CB53 #4072CB #CB40B8
split-complementary
#CB9940 #40B8CB #5340CB
monochromatic
#72541F #A2772C #CB9940 #D8B370 #E5CCA0
Accessibility & contrast
On white
2.57
#CB9940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#CB9940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB9940
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB9940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB9940 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9A36
Deuteranopia (green-blind)
#B8A743
Tritanopia (blue-blind)
#DC8B86
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cb9940; /* rgb */ color: rgb(203, 153, 64); /* oklch */ color: oklch(71.4% 0.121 78.9);
Tailwind
colors: {
custom: {
50: '#dfb679',
500: '#cb9940',
950: '#000000',
},
}SCSS
$custom: #cb9940; $custom-light: #dfb679; $custom-dark: #000000;
JSON
{
"hex": "#cb9940",
"rgb": {
"r": 203,
"g": 153,
"b": 64
},
"hsl": {
"h": 38.417,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.71398,
"c": 0.12056,
"h": 78.9
},
"luminance": 0.35849
}Semantic roles & 50–950 ramp
primary
#CB9940
secondary
#95ABD2
accent
#7EE047
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B