#C8AB4C#C8AB4C

#C8AB4C is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.8% C 0.119 H 92.3°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#C8AB4C
RGBrgb(200, 171, 76)
HSLhsl(46, 53%, 54%)
HSVhsv(46, 62%, 78%)
CMYKcmyk(0%, 14.5%, 62%, 21.6%)
CIE-LABlab(70.82, -0.51, 51.62)
CIE-LCHlch(70.82, 51.62, 90.57°)
OKLaboklab(74.84% -0.0048 0.1186)
OKLCHoklch(74.84% 0.119 92.3)
XYZxyz(39.6887, 41.9291, 12.8387)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB4C #4C69C8
analogous
#C86D4C #C8AB4C #A7C84C
triadic
#C8AB4C #4CC8AB #AB4CC8
tetradic
#C8AB4C #4CC86D #4C69C8 #C84CA7
square
#C8AB4C #4CC86D #4C69C8 #C84CA7
split-complementary
#C8AB4C #4CA7C8 #6D4CC8
monochromatic
#756224 #A48A32 #C8AB4C #D6C17B #E5D7AA

Accessibility & contrast

On white

2.24
#C8AB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#C8AB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB4C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB4C#FFFFFF#000000##000000
##C8AB4C1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA842
Deuteranopia (green-blind)
#C3B150
Tritanopia (blue-blind)
#D79F96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab4c;
/* rgb */ color: rgb(200, 171, 76);
/* oklch */ color: oklch(74.8% 0.119 92.3);
Tailwind
colors: {
  custom: {
    50: '#dcc382',
    500: '#c8ab4c',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab4c;
$custom-light: #dcc382;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab4c",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 76
  },
  "hsl": {
    "h": 45.968,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74837,
    "c": 0.11874,
    "h": 92.3
  },
  "luminance": 0.41927
}

Semantic roles & 50–950 ramp

primary
#C8AB4C
secondary
#9EAAD2
accent
#6DDC4B
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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