#CF9940#CF9940

#CF9940 is a light, vivid orange. Relative luminance 0.364; OKLCH L 71.8% C 0.123 H 76.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#CF9940
RGBrgb(207, 153, 64)
HSLhsl(37, 60%, 53%)
HSVhsv(37, 69%, 81%)
CMYKcmyk(0%, 26.1%, 69.1%, 18.8%)
CIE-LABlab(66.84, 11.44, 52.97)
CIE-LCHlch(66.84, 54.19, 77.82°)
OKLaboklab(71.84% 0.0279 0.1194)
OKLCHoklch(71.84% 0.123 76.8)
XYZxyz(38.0512, 36.4209, 9.8753)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9940 #4076CF
analogous
#CF5140 #CF9940 #BDCF40
triadic
#CF9940 #40CF99 #9940CF
tetradic
#CF9940 #40CF51 #4076CF #CF40BD
square
#CF9940 #40CF51 #4076CF #CF40BD
split-complementary
#CF9940 #40BDCF #5140CF
monochromatic
#77551E #A8782A #CF9940 #DBB371 #E8CDA2

Accessibility & contrast

On white

2.54
#CF9940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#CF9940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9940
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9940#FFFFFF#000000##000000
##CF99401.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B35
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#E18A86
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf9940;
/* rgb */ color: rgb(207, 153, 64);
/* oklch */ color: oklch(71.8% 0.123 76.8);
Tailwind
colors: {
  custom: {
    50: '#e2b679',
    500: '#cf9940',
    950: '#000000',
  },
}
SCSS
$custom: #cf9940;
$custom-light: #e2b679;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9940",
  "rgb": {
    "r": 207,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 37.343,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71835,
    "c": 0.12265,
    "h": 76.8
  },
  "luminance": 0.36418
}

Semantic roles & 50–950 ramp

primary
#CF9940
secondary
#97AED4
accent
#81E345
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CF9940

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

Preview Lab → · Contrast checker → · Palette generator →

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