#CF9D31#CF9D31

#CF9D31 is a light, vivid orange. Relative luminance 0.376; OKLCH L 72.5% C 0.133 H 82.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CF9D31
RGBrgb(207, 157, 49)
HSLhsl(41, 62%, 50%)
HSVhsv(41, 76%, 81%)
CMYKcmyk(0%, 24.2%, 76.3%, 18.8%)
CIE-LABlab(67.73, 8.56, 60.09)
CIE-LCHlch(67.73, 60.70, 81.89°)
OKLaboklab(72.5% 0.0177 0.1316)
OKLCHoklch(72.5% 0.133 82.3)
XYZxyz(38.3460, 37.6040, 8.1438)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9D31 #3163CF
analogous
#CF4E31 #CF9D31 #B2CF31
triadic
#CF9D31 #31CF9D #9D31CF
tetradic
#CF9D31 #31CF4E #3163CF #CF31B2
square
#CF9D31 #31CF4E #3163CF #CF31B2
split-complementary
#CF9D31 #31B2CF #4E31CF
monochromatic
#6C5219 #9E7825 #CF9D31 #DBB563 #E6CC94

Accessibility & contrast

On white

2.46
#CF9D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CF9D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9D31
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9D31#FFFFFF#000000##000000
##CF9D311.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1F
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#E18E88
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf9d31;
/* rgb */ color: rgb(207, 157, 49);
/* oklch */ color: oklch(72.5% 0.133 82.3);
Tailwind
colors: {
  custom: {
    50: '#e2b971',
    500: '#cf9d31',
    950: '#000000',
  },
}
SCSS
$custom: #cf9d31;
$custom-light: #e2b971;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9d31",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 41.013,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72495,
    "c": 0.13282,
    "h": 82.3
  },
  "luminance": 0.37601
}

Semantic roles & 50–950 ramp

primary
#CF9D31
secondary
#8BA1D1
accent
#76E543
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #CF9D31

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

Preview Lab → · Contrast checker → · Palette generator →

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