#C8AB51#C8AB51

#C8AB51 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.114 H 91.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C8AB51
RGBrgb(200, 171, 81)
HSLhsl(45, 52%, 55%)
HSVhsv(45, 60%, 78%)
CMYKcmyk(0%, 14.5%, 59.5%, 21.6%)
CIE-LABlab(70.87, -0.16, 49.34)
CIE-LCHlch(70.87, 49.34, 90.19°)
OKLaboklab(74.89% -0.0032 0.1144)
OKLCHoklch(74.89% 0.114 91.6)
XYZxyz(39.8693, 42.0013, 13.7900)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB51 #516EC8
analogous
#C86F51 #C8AB51 #AAC851
triadic
#C8AB51 #51C8AB #AB51C8
tetradic
#C8AB51 #51C86F #516EC8 #C851AA
square
#C8AB51 #51C86F #516EC8 #C851AA
split-complementary
#C8AB51 #51AAC8 #6F51C8
monochromatic
#796426 #A78B35 #C8AB51 #D7C180 #E5D8AE

Accessibility & contrast

On white

2.23
#C8AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#C8AB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB51
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB51#FFFFFF#000000##000000
##C8AB511.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA948
Deuteranopia (green-blind)
#C3B155
Tritanopia (blue-blind)
#D79F97
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab51;
/* rgb */ color: rgb(200, 171, 81);
/* oklch */ color: oklch(74.9% 0.114 91.6);
Tailwind
colors: {
  custom: {
    50: '#dcc385',
    500: '#c8ab51',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab51;
$custom-light: #dcc385;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab51",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 45.378,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74892,
    "c": 0.11445,
    "h": 91.6
  },
  "luminance": 0.41999
}

Semantic roles & 50–950 ramp

primary
#C8AB51
secondary
#A1AED3
accent
#6FDB4C
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AB51

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

Preview Lab → · Contrast checker → · Palette generator →

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