#CB9840#CB9840

#CB9840 is a light, vivid orange. Relative luminance 0.355; OKLCH L 71.2% C 0.120 H 78.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#CB9840
RGBrgb(203, 152, 64)
HSLhsl(38, 57%, 52%)
HSVhsv(38, 68%, 80%)
CMYKcmyk(0%, 25.1%, 68.5%, 20.4%)
CIE-LABlab(66.16, 10.25, 52.11)
CIE-LCHlch(66.16, 53.11, 78.87°)
OKLaboklab(71.2% 0.0247 0.1178)
OKLCHoklch(71.2% 0.12 78.1)
XYZxyz(36.7845, 35.5259, 9.7693)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9840 #4073CB
analogous
#CB5340 #CB9840 #B8CB40
triadic
#CB9840 #40CB98 #9840CB
tetradic
#CB9840 #40CB53 #4073CB #CB40B8
square
#CB9840 #40CB53 #4073CB #CB40B8
split-complementary
#CB9840 #40B8CB #5340CB
monochromatic
#72531F #A2772C #CB9840 #D8B270 #E5CCA0

Accessibility & contrast

On white

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

On black

8.10
#CB9840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9840
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9840#FFFFFF#000000##000000
##CB98401.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb9840;
/* rgb */ color: rgb(203, 152, 64);
/* oklch */ color: oklch(71.2% 0.120 78.1);
Tailwind
colors: {
  custom: {
    50: '#dfb679',
    500: '#cb9840',
    950: '#000000',
  },
}
SCSS
$custom: #cb9840;
$custom-light: #dfb679;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9840",
  "rgb": {
    "r": 203,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 37.986,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.71202,
    "c": 0.12032,
    "h": 78.1
  },
  "luminance": 0.35523
}

Semantic roles & 50–950 ramp

primary
#CB9840
secondary
#95ABD2
accent
#80E047
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CB9840

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

Preview Lab → · Contrast checker → · Palette generator →

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