#CFAB42#CFAB42

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

Color values

HEX#CFAB42
RGBrgb(207, 171, 66)
HSLhsl(45, 59%, 54%)
HSVhsv(45, 68%, 81%)
CMYKcmyk(0%, 17.4%, 68.1%, 18.8%)
CIE-LABlab(71.41, 1.88, 56.89)
CIE-LCHlch(71.41, 56.92, 88.10°)
OKLaboklab(75.43% 0.0005 0.1281)
OKLCHoklch(75.43% 0.128 89.8)
XYZxyz(41.2806, 42.7870, 11.2376)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAB42 #4266CF
analogous
#CF6442 #CFAB42 #ACCF42
triadic
#CFAB42 #42CFAB #AB42CF
tetradic
#CFAB42 #42CF64 #4266CF #CF42AC
square
#CFAB42 #42CF64 #4266CF #CF42AC
split-complementary
#CFAB42 #42ACCF #6442CF
monochromatic
#78611F #A9892B #CFAB42 #DBC173 #E8D6A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAB42#FFFFFF#000000##000000
##CFAB421.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)
#BEA935
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#E09D95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfab42;
/* rgb */ color: rgb(207, 171, 66);
/* oklch */ color: oklch(75.4% 0.128 89.8);
Tailwind
colors: {
  custom: {
    50: '#e1c37c',
    500: '#cfab42',
    950: '#000000',
  },
}
SCSS
$custom: #cfab42;
$custom-light: #e1c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfab42",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 44.681,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7543,
    "c": 0.1281,
    "h": 89.8
  },
  "luminance": 0.42785
}

Semantic roles & 50–950 ramp

primary
#CFAB42
secondary
#98A8D5
accent
#6DE345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAB42

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

Preview Lab → · Contrast checker → · Palette generator →

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