#CF7840#CF7840

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

Color values

HEX#CF7840
RGBrgb(207, 120, 64)
HSLhsl(23, 60%, 53%)
HSVhsv(23, 69%, 81%)
CMYKcmyk(0%, 42%, 69.1%, 18.8%)
CIE-LABlab(59.04, 29.30, 44.52)
CIE-LCHlch(59.04, 53.30, 56.65°)
OKLaboklab(65.78% 0.081 0.1014)
OKLCHoklch(65.78% 0.13 51.4)
XYZxyz(33.3768, 27.0720, 8.3172)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7840 #4097CF
analogous
#CF404F #CF7840 #CFC040
triadic
#CF7840 #40CF78 #7840CF
tetradic
#CF7840 #4FCF40 #4097CF #C040CF
square
#CF7840 #4FCF40 #4097CF #C040CF
split-complementary
#CF7840 #40CFC0 #404FCF
monochromatic
#77411E #A85B2A #CF7840 #DB9B71 #E8BDA2

Accessibility & contrast

On white

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

On black

6.41
#CF7840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF7840
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7840#FFFFFF#000000##000000
##CF78401.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823A
Deuteranopia (green-blind)
#A6963F
Tritanopia (blue-blind)
#E2666B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf7840;
/* rgb */ color: rgb(207, 120, 64);
/* oklch */ color: oklch(65.8% 0.130 51.4);
Tailwind
colors: {
  custom: {
    50: '#e3a077',
    500: '#cf7840',
    950: '#000000',
  },
}
SCSS
$custom: #cf7840;
$custom-light: #e3a077;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7840",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 23.497,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6578,
    "c": 0.12973,
    "h": 51.4
  },
  "luminance": 0.27069
}

Semantic roles & 50–950 ramp

primary
#CF7840
secondary
#97BCD4
accent
#A5E345
background
#FEF9F7
surface
#FDF2ED
border
#D5CCC8
text
#170E09
muted
#857E7B

Preview Lab

Preview with #CF7840

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

Preview Lab → · Contrast checker → · Palette generator →

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