#CFA940#CFA940

#CFA940 is a light, vivid orange. Relative luminance 0.420; OKLCH L 75.0% C 0.128 H 88.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CFA940
RGBrgb(207, 169, 64)
HSLhsl(44, 60%, 53%)
HSVhsv(44, 69%, 81%)
CMYKcmyk(0%, 18.4%, 69.1%, 18.8%)
CIE-LABlab(70.88, 2.84, 57.19)
CIE-LCHlch(70.88, 57.26, 87.16°)
OKLaboklab(75.01% 0.003 0.1284)
OKLCHoklch(75.01% 0.128 88.7)
XYZxyz(40.8478, 42.0140, 10.8075)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA940 #4066CF
analogous
#CF6140 #CFA940 #ADCF40
triadic
#CFA940 #40CFA9 #A940CF
tetradic
#CFA940 #40CF61 #4066CF #CF40AD
square
#CFA940 #40CF61 #4066CF #CF40AD
split-complementary
#CFA940 #40ADCF #6140CF
monochromatic
#775F1E #A8862A #CFA940 #DBBF71 #E8D5A2

Accessibility & contrast

On white

2.23
#CFA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CFA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA940
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA940#FFFFFF#000000##000000
##CFA9401.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#E09B93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa940;
/* rgb */ color: rgb(207, 169, 64);
/* oklch */ color: oklch(75.0% 0.128 88.7);
Tailwind
colors: {
  custom: {
    50: '#e2c27a',
    500: '#cfa940',
    950: '#000000',
  },
}
SCSS
$custom: #cfa940;
$custom-light: #e2c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa940",
  "rgb": {
    "r": 207,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 44.056,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75007,
    "c": 0.12842,
    "h": 88.7
  },
  "luminance": 0.42011
}

Semantic roles & 50–950 ramp

primary
#CFA940
secondary
#97A7D4
accent
#6FE345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFA940

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

Preview Lab → · Contrast checker → · Palette generator →

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