#CFAB51#CFAB51

#CFAB51 is a light, moderate orange. Relative luminance 0.430; OKLCH L 75.6% C 0.116 H 87.5°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CFAB51
RGBrgb(207, 171, 81)
HSLhsl(43, 57%, 56%)
HSVhsv(43, 61%, 81%)
CMYKcmyk(0%, 17.4%, 60.9%, 18.8%)
CIE-LABlab(71.55, 2.82, 50.29)
CIE-LCHlch(71.55, 50.37, 86.79°)
OKLaboklab(75.58% 0.005 0.1163)
OKLCHoklch(75.58% 0.116 87.5)
XYZxyz(41.7823, 42.9877, 13.8797)
Luminance0.4299 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAB51 #5175CF
analogous
#CF6C51 #CFAB51 #B4CF51
triadic
#CFAB51 #51CFAB #AB51CF
tetradic
#CFAB51 #51CF6C #5175CF #CF51B4
square
#CFAB51 #51CF6C #5175CF #CF51B4
split-complementary
#CFAB51 #51B4CF #6C51CF
monochromatic
#826724 #B28D31 #CFAB51 #DCC281 #E9D9B1

Accessibility & contrast

On white

2.19
#CFAB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#CFAB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAB51
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAB51#FFFFFF#000000##000000
##CFAB511.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA48
Deuteranopia (green-blind)
#C5B355
Tritanopia (blue-blind)
#DF9E97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfab51;
/* rgb */ color: rgb(207, 171, 81);
/* oklch */ color: oklch(75.6% 0.116 87.5);
Tailwind
colors: {
  custom: {
    50: '#e1c385',
    500: '#cfab51',
    950: '#000000',
  },
}
SCSS
$custom: #cfab51;
$custom-light: #e1c385;
$custom-dark: #000000;
JSON
{
  "hex": "#cfab51",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 42.857,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.75581,
    "c": 0.11638,
    "h": 87.5
  },
  "luminance": 0.42985
}

Semantic roles & 50–950 ramp

primary
#CFAB51
secondary
#A4B3D8
accent
#73E048
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFAB51

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

Preview Lab → · Contrast checker → · Palette generator →

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