#CFA540#CFA540

#CFA540 is a light, vivid orange. Relative luminance 0.405; OKLCH L 74.2% C 0.126 H 85.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#CFA540
RGBrgb(207, 165, 64)
HSLhsl(42, 60%, 53%)
HSVhsv(42, 69%, 81%)
CMYKcmyk(0%, 20.3%, 69.1%, 18.8%)
CIE-LABlab(69.86, 4.97, 56.13)
CIE-LCHlch(69.86, 56.35, 84.94°)
OKLaboklab(74.2% 0.0091 0.1262)
OKLCHoklch(74.2% 0.126 85.9)
XYZxyz(40.1150, 40.5485, 10.5633)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA540 #406ACF
analogous
#CF5D40 #CFA540 #B1CF40
triadic
#CFA540 #40CFA5 #A540CF
tetradic
#CFA540 #40CF5D #406ACF #CF40B1
square
#CFA540 #40CF5D #406ACF #CF40B1
split-complementary
#CFA540 #40B1CF #5D40CF
monochromatic
#775D1E #A8832A #CFA540 #DBBC71 #E8D3A2

Accessibility & contrast

On white

2.31
#CFA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#CFA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA540
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA540#FFFFFF#000000##000000
##CFA5401.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#E09790
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cfa540;
/* rgb */ color: rgb(207, 165, 64);
/* oklch */ color: oklch(74.2% 0.126 85.9);
Tailwind
colors: {
  custom: {
    50: '#e2bf7a',
    500: '#cfa540',
    950: '#000000',
  },
}
SCSS
$custom: #cfa540;
$custom-light: #e2bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa540",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 42.378,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74203,
    "c": 0.12648,
    "h": 85.9
  },
  "luminance": 0.40546
}

Semantic roles & 50–950 ramp

primary
#CFA540
secondary
#97A9D4
accent
#73E345
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA540

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

Preview Lab → · Contrast checker → · Palette generator →

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