#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
RGBrgb(203, 153, 64)
HSLhsl(38, 57%, 52%)
HSVhsv(38, 68%, 80%)
CMYKcmyk(0%, 24.6%, 68.5%, 20.4%)
CIE-LABlab(66.41, 9.71, 52.38)
CIE-LCHlch(66.41, 53.27, 79.50°)
OKLaboklab(71.4% 0.0231 0.1183)
OKLCHoklch(71.4% 0.121 78.9)
XYZxyz(36.9475, 35.8518, 9.8236)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

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
##CB99401.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.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

Preview Lab

Preview with #CB9940

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CB9940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva