#CFAB45#CFAB45

#CFAB45 is a light, vivid orange. Relative luminance 0.428; OKLCH L 75.5% C 0.126 H 89.4°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CFAB45
RGBrgb(207, 171, 69)
HSLhsl(44, 59%, 54%)
HSVhsv(44, 67%, 81%)
CMYKcmyk(0%, 17.4%, 66.7%, 18.8%)
CIE-LABlab(71.43, 2.05, 55.62)
CIE-LCHlch(71.43, 55.66, 87.89°)
OKLaboklab(75.46% 0.0013 0.1259)
OKLCHoklch(75.46% 0.126 89.4)
XYZxyz(41.3714, 42.8233, 11.7157)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAB45 #4569CF
analogous
#CF6645 #CFAB45 #AECF45
triadic
#CFAB45 #45CFAB #AB45CF
tetradic
#CFAB45 #45CF66 #4569CF #CF45AE
square
#CFAB45 #45CF66 #4569CF #CF45AE
split-complementary
#CFAB45 #45AECF #6645CF
monochromatic
#7A6220 #AB8A2C #CFAB45 #DCC176 #E8D7A6

Accessibility & contrast

On white

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

On black

9.56
#CFAB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAB45
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAB45#FFFFFF#000000##000000
##CFAB451.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA939
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#DF9D95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfab45;
/* rgb */ color: rgb(207, 171, 69);
/* oklch */ color: oklch(75.5% 0.126 89.4);
Tailwind
colors: {
  custom: {
    50: '#e1c37d',
    500: '#cfab45',
    950: '#000000',
  },
}
SCSS
$custom: #cfab45;
$custom-light: #e1c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfab45",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 44.348,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75457,
    "c": 0.12592,
    "h": 89.4
  },
  "luminance": 0.42821
}

Semantic roles & 50–950 ramp

primary
#CFAB45
secondary
#9BAAD5
accent
#6EE246
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAB45

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

Preview Lab → · Contrast checker → · Palette generator →

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