#CFA840#CFA840

#CFA840 is a light, vivid orange. Relative luminance 0.416; OKLCH L 74.8% C 0.128 H 88.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CFA840
RGBrgb(207, 168, 64)
HSLhsl(44, 60%, 53%)
HSVhsv(44, 69%, 81%)
CMYKcmyk(0%, 18.8%, 69.1%, 18.8%)
CIE-LABlab(70.62, 3.37, 56.93)
CIE-LCHlch(70.62, 57.03, 86.61°)
OKLaboklab(74.8% 0.0045 0.1278)
OKLCHoklch(74.8% 0.128 88)
XYZxyz(40.6624, 41.6434, 10.7457)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA840 #4067CF
analogous
#CF6040 #CFA840 #AFCF40
triadic
#CFA840 #40CFA8 #A840CF
tetradic
#CFA840 #40CF60 #4067CF #CF40AF
square
#CFA840 #40CF60 #4067CF #CF40AF
split-complementary
#CFA840 #40AFCF #6040CF
monochromatic
#775F1E #A8852A #CFA840 #DBBE71 #E8D5A2

Accessibility & contrast

On white

2.25
#CFA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CFA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA840
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA840#FFFFFF#000000##000000
##CFA8401.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA733
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#E09A92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa840;
/* rgb */ color: rgb(207, 168, 64);
/* oklch */ color: oklch(74.8% 0.128 88.0);
Tailwind
colors: {
  custom: {
    50: '#e2c17a',
    500: '#cfa840',
    950: '#000000',
  },
}
SCSS
$custom: #cfa840;
$custom-light: #e2c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa840",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 43.636,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74805,
    "c": 0.12791,
    "h": 88
  },
  "luminance": 0.41641
}

Semantic roles & 50–950 ramp

primary
#CFA840
secondary
#97A7D4
accent
#70E345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFA840

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

Preview Lab → · Contrast checker → · Palette generator →

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