#CFAC51#CFAC51

#CFAC51 is a light, moderate orange. Relative luminance 0.434; OKLCH L 75.8% C 0.117 H 88.3°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#CFAC51
RGBrgb(207, 172, 81)
HSLhsl(43, 57%, 56%)
HSVhsv(43, 61%, 81%)
CMYKcmyk(0%, 16.9%, 60.9%, 18.8%)
CIE-LABlab(71.80, 2.29, 50.58)
CIE-LCHlch(71.80, 50.63, 87.41°)
OKLaboklab(75.78% 0.0035 0.1169)
OKLCHoklch(75.78% 0.117 88.3)
XYZxyz(41.9719, 43.3669, 13.9429)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC51 #5174CF
analogous
#CF6D51 #CFAC51 #B3CF51
triadic
#CFAC51 #51CFAC #AC51CF
tetradic
#CFAC51 #51CF6D #5174CF #CF51B3
square
#CFAC51 #51CF6D #5174CF #CF51B3
split-complementary
#CFAC51 #51B3CF #6D51CF
monochromatic
#826824 #B28E31 #CFAC51 #DCC381 #E9DAB1

Accessibility & contrast

On white

2.17
#CFAC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#CFAC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAC51
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAC51#FFFFFF#000000##000000
##CFAC511.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA48
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#DF9F98
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cfac51;
/* rgb */ color: rgb(207, 172, 81);
/* oklch */ color: oklch(75.8% 0.117 88.3);
Tailwind
colors: {
  custom: {
    50: '#e1c485',
    500: '#cfac51',
    950: '#000000',
  },
}
SCSS
$custom: #cfac51;
$custom-light: #e1c485;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac51",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 43.333,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.75783,
    "c": 0.11694,
    "h": 88.3
  },
  "luminance": 0.43365
}

Semantic roles & 50–950 ramp

primary
#CFAC51
secondary
#A4B2D8
accent
#72E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFAC51

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

Preview Lab → · Contrast checker → · Palette generator →

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