#CB9942#CB9942

#CB9942 is a light, moderate orange. Relative luminance 0.359; OKLCH L 71.4% C 0.119 H 78.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CB9942
RGBrgb(203, 153, 66)
HSLhsl(38, 57%, 53%)
HSVhsv(38, 67%, 80%)
CMYKcmyk(0%, 24.6%, 67.5%, 20.4%)
CIE-LABlab(66.42, 9.82, 51.49)
CIE-LCHlch(66.42, 52.42, 79.20°)
OKLaboklab(71.42% 0.0237 0.1168)
OKLCHoklch(71.42% 0.119 78.5)
XYZxyz(37.0055, 35.8750, 10.1287)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9942 #4274CB
analogous
#CB5442 #CB9942 #B8CB42
triadic
#CB9942 #42CB99 #9942CB
tetradic
#CB9942 #42CB54 #4274CB #CB42B8
square
#CB9942 #42CB54 #4274CB #CB42B8
split-complementary
#CB9942 #42B8CB #5442CB
monochromatic
#735520 #A3782D #CB9942 #D8B372 #E5CDA2

Accessibility & contrast

On white

2.57
#CB9942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CB9942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9942
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9942#FFFFFF#000000##000000
##CB99421.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)
#AC9A38
Deuteranopia (green-blind)
#B8A745
Tritanopia (blue-blind)
#DC8B86
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb9942;
/* rgb */ color: rgb(203, 153, 66);
/* oklch */ color: oklch(71.4% 0.119 78.5);
Tailwind
colors: {
  custom: {
    50: '#dfb67a',
    500: '#cb9942',
    950: '#000000',
  },
}
SCSS
$custom: #cb9942;
$custom-light: #dfb67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9942",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 66
  },
  "hsl": {
    "h": 38.102,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.71418,
    "c": 0.11916,
    "h": 78.5
  },
  "luminance": 0.35872
}

Semantic roles & 50–950 ramp

primary
#CB9942
secondary
#97ACD2
accent
#7FE048
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CB9942

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

Preview Lab → · Contrast checker → · Palette generator →

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