#C8AB52#C8AB52

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

Color values

HEX#C8AB52
RGBrgb(200, 171, 82)
HSLhsl(45, 52%, 55%)
HSVhsv(45, 59%, 78%)
CMYKcmyk(0%, 14.5%, 59%, 21.6%)
CIE-LABlab(70.88, -0.09, 48.88)
CIE-LCHlch(70.88, 48.88, 90.10°)
OKLaboklab(74.9% -0.0028 0.1135)
OKLCHoklch(74.9% 0.114 91.4)
XYZxyz(39.9071, 42.0164, 13.9890)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB52 #526FC8
analogous
#C87052 #C8AB52 #AAC852
triadic
#C8AB52 #52C8AB #AB52C8
tetradic
#C8AB52 #52C870 #526FC8 #C852AA
square
#C8AB52 #52C870 #526FC8 #C852AA
split-complementary
#C8AB52 #52AAC8 #7052C8
monochromatic
#796527 #A88B35 #C8AB52 #D7C280 #E6D8AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AB52#FFFFFF#000000##000000
##C8AB521.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)
#BBA949
Deuteranopia (green-blind)
#C3B156
Tritanopia (blue-blind)
#D79F97
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab52;
/* rgb */ color: rgb(200, 171, 82);
/* oklch */ color: oklch(74.9% 0.114 91.4);
Tailwind
colors: {
  custom: {
    50: '#dbc385',
    500: '#c8ab52',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab52;
$custom-light: #dbc385;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab52",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 45.254,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74904,
    "c": 0.11358,
    "h": 91.4
  },
  "luminance": 0.42014
}

Semantic roles & 50–950 ramp

primary
#C8AB52
secondary
#A2AED4
accent
#70DB4D
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AB52

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

Preview Lab → · Contrast checker → · Palette generator →

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