#CFAB40#CFAB40

#CFAB40 is a light, vivid orange. Relative luminance 0.428; OKLCH L 75.4% C 0.130 H 90.0°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CFAB40
RGBrgb(207, 171, 64)
HSLhsl(45, 60%, 53%)
HSVhsv(45, 69%, 81%)
CMYKcmyk(0%, 17.4%, 69.1%, 18.8%)
CIE-LABlab(71.39, 1.77, 57.72)
CIE-LCHlch(71.39, 57.75, 88.24°)
OKLaboklab(75.41% -0.0001 0.1295)
OKLCHoklch(75.41% 0.13 90)
XYZxyz(41.2227, 42.7639, 10.9325)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAB40 #4064CF
analogous
#CF6340 #CFAB40 #ACCF40
triadic
#CFAB40 #40CFAB #AB40CF
tetradic
#CFAB40 #40CF63 #4064CF #CF40AC
square
#CFAB40 #40CF63 #4064CF #CF40AC
split-complementary
#CFAB40 #40ACCF #6340CF
monochromatic
#77601E #A8882A #CFAB40 #DBC171 #E8D6A2

Accessibility & contrast

On white

2.20
#CFAB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CFAB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAB40
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAB40#FFFFFF#000000##000000
##CFAB401.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA932
Deuteranopia (green-blind)
#C7B345
Tritanopia (blue-blind)
#E09D95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfab40;
/* rgb */ color: rgb(207, 171, 64);
/* oklch */ color: oklch(75.4% 0.130 90.0);
Tailwind
colors: {
  custom: {
    50: '#e2c37a',
    500: '#cfab40',
    950: '#000000',
  },
}
SCSS
$custom: #cfab40;
$custom-light: #e2c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfab40",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 44.895,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75412,
    "c": 0.12951,
    "h": 90
  },
  "luminance": 0.42761
}

Semantic roles & 50–950 ramp

primary
#CFAB40
secondary
#97A6D4
accent
#6DE345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAB40

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

Preview Lab → · Contrast checker → · Palette generator →

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