#CF7842#CF7842

#CF7842 is a light, vivid orange. Relative luminance 0.271; OKLCH L 65.8% C 0.129 H 50.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CF7842
RGBrgb(207, 120, 66)
HSLhsl(23, 59%, 54%)
HSVhsv(23, 68%, 81%)
CMYKcmyk(0%, 42%, 68.1%, 18.8%)
CIE-LABlab(59.06, 29.41, 43.53)
CIE-LCHlch(59.06, 52.54, 55.95°)
OKLaboklab(65.8% 0.0816 0.0996)
OKLCHoklch(65.8% 0.129 50.7)
XYZxyz(33.4347, 27.0952, 8.6223)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7842 #4299CF
analogous
#CF4252 #CF7842 #CFBF42
triadic
#CF7842 #42CF78 #7842CF
tetradic
#CF7842 #52CF42 #4299CF #BF42CF
square
#CF7842 #52CF42 #4299CF #BF42CF
split-complementary
#CF7842 #42CFBF #4252CF
monochromatic
#78411F #A95B2B #CF7842 #DB9B73 #E8BEA4

Accessibility & contrast

On white

3.27
#CF7842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CF7842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF7842
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7842#FFFFFF#000000##000000
##CF78421.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823C
Deuteranopia (green-blind)
#A59641
Tritanopia (blue-blind)
#E2666C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf7842;
/* rgb */ color: rgb(207, 120, 66);
/* oklch */ color: oklch(65.8% 0.129 50.7);
Tailwind
colors: {
  custom: {
    50: '#e3a078',
    500: '#cf7842',
    950: '#000000',
  },
}
SCSS
$custom: #cf7842;
$custom-light: #e3a078;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7842",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 66
  },
  "hsl": {
    "h": 22.979,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.65803,
    "c": 0.12876,
    "h": 50.7
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#CF7842
secondary
#98BDD5
accent
#A6E345
background
#FEF9F7
surface
#FDF2ED
border
#D5CCC8
text
#170E09
muted
#857E7B

Preview Lab

Preview with #CF7842

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

Preview Lab → · Contrast checker → · Palette generator →

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