#CFAF52#CFAF52

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

Color values

HEX#CFAF52
RGBrgb(207, 175, 82)
HSLhsl(45, 57%, 57%)
HSVhsv(45, 60%, 81%)
CMYKcmyk(0%, 15.5%, 60.4%, 18.8%)
CIE-LABlab(72.59, 0.77, 50.99)
CIE-LCHlch(72.59, 51.00, 89.14°)
OKLaboklab(76.4% -0.0008 0.1179)
OKLCHoklch(76.4% 0.118 90.4)
XYZxyz(42.5871, 44.5368, 14.3343)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF52 #5272CF
analogous
#CF7152 #CFAF52 #B1CF52
triadic
#CFAF52 #52CFAF #AF52CF
tetradic
#CFAF52 #52CF71 #5272CF #CF52B1
square
#CFAF52 #52CF71 #5272CF #CF52B1
split-complementary
#CFAF52 #52B1CF #7152CF
monochromatic
#826A24 #B29131 #CFAF52 #DCC582 #EADBB2

Accessibility & contrast

On white

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

On black

9.91
#CFAF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF52
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF52#FFFFFF#000000##000000
##CFAF521.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfaf52;
/* rgb */ color: rgb(207, 175, 82);
/* oklch */ color: oklch(76.4% 0.118 90.4);
Tailwind
colors: {
  custom: {
    50: '#e1c686',
    500: '#cfaf52',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf52;
$custom-light: #e1c686;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf52",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 44.64,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76403,
    "c": 0.11791,
    "h": 90.4
  },
  "luminance": 0.44535
}

Semantic roles & 50–950 ramp

primary
#CFAF52
secondary
#A5B2D8
accent
#6FE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFAF52

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

Preview Lab → · Contrast checker → · Palette generator →

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