#CF9840#CF9840

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

Color values

HEX#CF9840
RGBrgb(207, 152, 64)
HSLhsl(37, 60%, 53%)
HSVhsv(37, 69%, 81%)
CMYKcmyk(0%, 26.6%, 69.1%, 18.8%)
CIE-LABlab(66.59, 11.98, 52.71)
CIE-LCHlch(66.59, 54.05, 77.20°)
OKLaboklab(71.64% 0.0295 0.1189)
OKLCHoklch(71.64% 0.122 76.1)
XYZxyz(37.8882, 36.0950, 9.8210)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9840 #4077CF
analogous
#CF5040 #CF9840 #BFCF40
triadic
#CF9840 #40CF98 #9840CF
tetradic
#CF9840 #40CF50 #4077CF #CF40BF
square
#CF9840 #40CF50 #4077CF #CF40BF
split-complementary
#CF9840 #40BFCF #5040CF
monochromatic
#77551E #A8772A #CF9840 #DBB271 #E8CDA2

Accessibility & contrast

On white

2.56
#CF9840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF9840#FFFFFF#000000##000000
##CF98401.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A36
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#E18985
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf9840;
/* rgb */ color: rgb(207, 152, 64);
/* oklch */ color: oklch(71.6% 0.122 76.1);
Tailwind
colors: {
  custom: {
    50: '#e2b679',
    500: '#cf9840',
    950: '#000000',
  },
}
SCSS
$custom: #cf9840;
$custom-light: #e2b679;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9840",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 36.923,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71641,
    "c": 0.12248,
    "h": 76.1
  },
  "luminance": 0.36092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF9840

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

Preview Lab → · Contrast checker → · Palette generator →

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