#CF9842#CF9842

#CF9842 is a light, vivid orange. Relative luminance 0.361; OKLCH L 71.7% C 0.121 H 75.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#CF9842
RGBrgb(207, 152, 66)
HSLhsl(37, 59%, 54%)
HSVhsv(37, 68%, 81%)
CMYKcmyk(0%, 26.6%, 68.1%, 18.8%)
CIE-LABlab(66.61, 12.09, 51.82)
CIE-LCHlch(66.61, 53.21, 76.87°)
OKLaboklab(71.66% 0.0301 0.1173)
OKLCHoklch(71.66% 0.121 75.6)
XYZxyz(37.9462, 36.1181, 10.1261)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9842 #4279CF
analogous
#CF5142 #CF9842 #BFCF42
triadic
#CF9842 #42CF98 #9842CF
tetradic
#CF9842 #42CF51 #4279CF #CF42BF
square
#CF9842 #42CF51 #4279CF #CF42BF
split-complementary
#CF9842 #42BFCF #5142CF
monochromatic
#78551F #A9782B #CF9842 #DBB373 #E8CDA4

Accessibility & contrast

On white

2.55
#CF9842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#CF9842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9842
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9842#FFFFFF#000000##000000
##CF98421.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#E18986
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf9842;
/* rgb */ color: rgb(207, 152, 66);
/* oklch */ color: oklch(71.7% 0.121 75.6);
Tailwind
colors: {
  custom: {
    50: '#e2b67a',
    500: '#cf9842',
    950: '#000000',
  },
}
SCSS
$custom: #cf9842;
$custom-light: #e2b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9842",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 36.596,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.71661,
    "c": 0.12112,
    "h": 75.6
  },
  "luminance": 0.36115
}

Semantic roles & 50–950 ramp

primary
#CF9842
secondary
#98B0D5
accent
#83E345
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #CF9842

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

Preview Lab → · Contrast checker → · Palette generator →

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