#CB9D40#CB9D40

#CB9D40 is a light, vivid orange. Relative luminance 0.372; OKLCH L 72.2% C 0.122 H 82.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CB9D40
RGBrgb(203, 157, 64)
HSLhsl(40, 57%, 52%)
HSVhsv(40, 68%, 80%)
CMYKcmyk(0%, 22.7%, 68.5%, 20.4%)
CIE-LABlab(67.41, 7.54, 53.45)
CIE-LCHlch(67.41, 53.98, 81.97°)
OKLaboklab(72.19% 0.0168 0.1206)
OKLCHoklch(72.19% 0.122 82.1)
XYZxyz(37.6132, 37.1832, 10.0455)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9D40 #406ECB
analogous
#CB5840 #CB9D40 #B4CB40
triadic
#CB9D40 #40CB9D #9D40CB
tetradic
#CB9D40 #40CB58 #406ECB #CB40B4
square
#CB9D40 #40CB58 #406ECB #CB40B4
split-complementary
#CB9D40 #40B4CB #5840CB
monochromatic
#72561F #A27B2C #CB9D40 #D8B670 #E5CEA0

Accessibility & contrast

On white

2.49
#CB9D40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CB9D40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9D40
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9D40#FFFFFF#000000##000000
##CB9D401.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D35
Deuteranopia (green-blind)
#BBA944
Tritanopia (blue-blind)
#DC8F89
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb9d40;
/* rgb */ color: rgb(203, 157, 64);
/* oklch */ color: oklch(72.2% 0.122 82.1);
Tailwind
colors: {
  custom: {
    50: '#dfb979',
    500: '#cb9d40',
    950: '#000000',
  },
}
SCSS
$custom: #cb9d40;
$custom-light: #dfb979;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9d40",
  "rgb": {
    "r": 203,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 40.144,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72188,
    "c": 0.12176,
    "h": 82.1
  },
  "luminance": 0.37181
}

Semantic roles & 50–950 ramp

primary
#CB9D40
secondary
#95A9D2
accent
#7AE047
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CB9D40

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

Preview Lab → · Contrast checker → · Palette generator →

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