#CFA240#CFA240

#CFA240 is a light, vivid orange. Relative luminance 0.395; OKLCH L 73.6% C 0.125 H 83.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CFA240
RGBrgb(207, 162, 64)
HSLhsl(41, 60%, 53%)
HSVhsv(41, 69%, 81%)
CMYKcmyk(0%, 21.7%, 69.1%, 18.8%)
CIE-LABlab(69.10, 6.58, 55.34)
CIE-LCHlch(69.10, 55.73, 83.22°)
OKLaboklab(73.6% 0.0138 0.1245)
OKLCHoklch(73.6% 0.125 83.7)
XYZxyz(39.5802, 39.4789, 10.3850)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA240 #406DCF
analogous
#CF5A40 #CFA240 #B4CF40
triadic
#CFA240 #40CFA2 #A240CF
tetradic
#CFA240 #40CF5A #406DCF #CF40B4
square
#CFA240 #40CF5A #406DCF #CF40B4
split-complementary
#CFA240 #40B4CF #5A40CF
monochromatic
#775B1E #A8802A #CFA240 #DBBA71 #E8D2A2

Accessibility & contrast

On white

2.36
#CFA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CFA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA240
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA240#FFFFFF#000000##000000
##CFA2401.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A234
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#E0948D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa240;
/* rgb */ color: rgb(207, 162, 64);
/* oklch */ color: oklch(73.6% 0.125 83.7);
Tailwind
colors: {
  custom: {
    50: '#e2bd7a',
    500: '#cfa240',
    950: '#000000',
  },
}
SCSS
$custom: #cfa240;
$custom-light: #e2bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa240",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 41.119,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.73604,
    "c": 0.12522,
    "h": 83.7
  },
  "luminance": 0.39476
}

Semantic roles & 50–950 ramp

primary
#CFA240
secondary
#97AAD4
accent
#77E345
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA240

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

Preview Lab → · Contrast checker → · Palette generator →

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