#CFAF51#CFAF51

#CFAF51 is a light, moderate orange. Relative luminance 0.445; OKLCH L 76.4% C 0.119 H 90.5°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CFAF51
RGBrgb(207, 175, 81)
HSLhsl(45, 57%, 56%)
HSVhsv(45, 61%, 81%)
CMYKcmyk(0%, 15.5%, 60.9%, 18.8%)
CIE-LABlab(72.58, 0.70, 51.45)
CIE-LCHlch(72.58, 51.45, 89.22°)
OKLaboklab(76.39% -0.0011 0.1188)
OKLCHoklch(76.39% 0.119 90.5)
XYZxyz(42.5493, 44.5217, 14.1354)
Luminance0.4452 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF51 #5171CF
analogous
#CF7051 #CFAF51 #B0CF51
triadic
#CFAF51 #51CFAF #AF51CF
tetradic
#CFAF51 #51CF70 #5171CF #CF51B0
square
#CFAF51 #51CF70 #5171CF #CF51B0
split-complementary
#CFAF51 #51B0CF #7051CF
monochromatic
#826A24 #B29131 #CFAF51 #DCC581 #E9DBB1

Accessibility & contrast

On white

2.12
#CFAF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CFAF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF51
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF51#FFFFFF#000000##000000
##CFAF511.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD47
Deuteranopia (green-blind)
#C8B655
Tritanopia (blue-blind)
#DFA29A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf51;
/* rgb */ color: rgb(207, 175, 81);
/* oklch */ color: oklch(76.4% 0.119 90.5);
Tailwind
colors: {
  custom: {
    50: '#e1c685',
    500: '#cfaf51',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf51;
$custom-light: #e1c685;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf51",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 44.762,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76392,
    "c": 0.11877,
    "h": 90.5
  },
  "luminance": 0.44519
}

Semantic roles & 50–950 ramp

primary
#CFAF51
secondary
#A4B1D8
accent
#6EE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFAF51

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

Preview Lab → · Contrast checker → · Palette generator →

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