#CB9842#CB9842

#CB9842 is a light, moderate orange. Relative luminance 0.355; OKLCH L 71.2% C 0.119 H 77.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#CB9842
RGBrgb(203, 152, 66)
HSLhsl(38, 57%, 53%)
HSVhsv(38, 67%, 80%)
CMYKcmyk(0%, 25.1%, 67.5%, 20.4%)
CIE-LABlab(66.17, 10.37, 51.22)
CIE-LCHlch(66.17, 52.26, 78.56°)
OKLaboklab(71.22% 0.0253 0.1162)
OKLCHoklch(71.22% 0.119 77.7)
XYZxyz(36.8425, 35.5490, 10.0744)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9842 #4275CB
analogous
#CB5342 #CB9842 #B9CB42
triadic
#CB9842 #42CB98 #9842CB
tetradic
#CB9842 #42CB53 #4275CB #CB42B9
square
#CB9842 #42CB53 #4275CB #CB42B9
split-complementary
#CB9842 #42B9CB #5342CB
monochromatic
#735420 #A3772D #CB9842 #D8B272 #E5CCA2

Accessibility & contrast

On white

2.59
#CB9842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#CB9842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9842
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9842#FFFFFF#000000##000000
##CB98421.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9938
Deuteranopia (green-blind)
#B8A645
Tritanopia (blue-blind)
#DC8A85
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb9842;
/* rgb */ color: rgb(203, 152, 66);
/* oklch */ color: oklch(71.2% 0.119 77.7);
Tailwind
colors: {
  custom: {
    50: '#dfb67a',
    500: '#cb9842',
    950: '#000000',
  },
}
SCSS
$custom: #cb9842;
$custom-light: #dfb67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9842",
  "rgb": {
    "r": 203,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 37.664,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.71222,
    "c": 0.11892,
    "h": 77.7
  },
  "luminance": 0.35546
}

Semantic roles & 50–950 ramp

primary
#CB9842
secondary
#97ADD2
accent
#80E048
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CB9842

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

Preview Lab → · Contrast checker → · Palette generator →

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