#C8AB4D#C8AB4D

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

Color values

HEX#C8AB4D
RGBrgb(200, 171, 77)
HSLhsl(46, 53%, 54%)
HSVhsv(46, 62%, 78%)
CMYKcmyk(0%, 14.5%, 61.5%, 21.6%)
CIE-LABlab(70.83, -0.44, 51.17)
CIE-LCHlch(70.83, 51.17, 90.50°)
OKLaboklab(74.85% -0.0045 0.1178)
OKLCHoklch(74.85% 0.118 92.2)
XYZxyz(39.7237, 41.9431, 13.0232)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB4D #4D6AC8
analogous
#C86E4D #C8AB4D #A7C84D
triadic
#C8AB4D #4DC8AB #AB4DC8
tetradic
#C8AB4D #4DC86E #4D6AC8 #C84DA7
square
#C8AB4D #4DC86E #4D6AC8 #C84DA7
split-complementary
#C8AB4D #4DA7C8 #6E4DC8
monochromatic
#766324 #A58A33 #C8AB4D #D6C17C #E5D7AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AB4D#FFFFFF#000000##000000
##C8AB4D1.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)
#BCA843
Deuteranopia (green-blind)
#C3B151
Tritanopia (blue-blind)
#D79F96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab4d;
/* rgb */ color: rgb(200, 171, 77);
/* oklch */ color: oklch(74.8% 0.118 92.2);
Tailwind
colors: {
  custom: {
    50: '#dcc382',
    500: '#c8ab4d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab4d;
$custom-light: #dcc382;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab4d",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 77
  },
  "hsl": {
    "h": 45.854,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74848,
    "c": 0.11789,
    "h": 92.2
  },
  "luminance": 0.41941
}

Semantic roles & 50–950 ramp

primary
#C8AB4D
secondary
#9EABD2
accent
#6EDC4C
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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