#CB9938#CB9938

#CB9938 is a light, vivid orange. Relative luminance 0.358; OKLCH L 71.3% C 0.126 H 80.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CB9938
RGBrgb(203, 153, 56)
HSLhsl(40, 59%, 51%)
HSVhsv(40, 72%, 80%)
CMYKcmyk(0%, 24.6%, 72.4%, 20.4%)
CIE-LABlab(66.34, 9.29, 55.79)
CIE-LCHlch(66.34, 56.56, 80.55°)
OKLaboklab(71.33% 0.0209 0.1241)
OKLCHoklch(71.33% 0.126 80.4)
XYZxyz(36.7360, 35.7672, 8.7095)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9938 #386ACB
analogous
#CB4F38 #CB9938 #B3CB38
triadic
#CB9938 #38CB99 #9938CB
tetradic
#CB9938 #38CB4F #386ACB #CB38B3
square
#CB9938 #38CB4F #386ACB #CB38B3
split-complementary
#CB9938 #38B3CB #4F38CB
monochromatic
#6C511C #9D7529 #CB9938 #D8B269 #E4CB99

Accessibility & contrast

On white

2.58
#CB9938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CB9938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9938
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9938#FFFFFF#000000##000000
##CB99381.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb9938;
/* rgb */ color: rgb(203, 153, 56);
/* oklch */ color: oklch(71.3% 0.126 80.4);
Tailwind
colors: {
  custom: {
    50: '#dfb674',
    500: '#cb9938',
    950: '#000000',
  },
}
SCSS
$custom: #cb9938;
$custom-light: #dfb674;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9938",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 39.592,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71327,
    "c": 0.12586,
    "h": 80.4
  },
  "luminance": 0.35764
}

Semantic roles & 50–950 ramp

primary
#CB9938
secondary
#8FA5D0
accent
#7BE246
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161109
muted
#84807B

Preview Lab

Preview with #CB9938

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

Preview Lab → · Contrast checker → · Palette generator →

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