#C8AB4A#C8AB4A

#C8AB4A is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.8% C 0.120 H 92.6°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#C8AB4A
RGBrgb(200, 171, 74)
HSLhsl(46, 53%, 54%)
HSVhsv(46, 63%, 78%)
CMYKcmyk(0%, 14.5%, 63%, 21.6%)
CIE-LABlab(70.80, -0.65, 52.51)
CIE-LCHlch(70.80, 52.52, 90.71°)
OKLaboklab(74.82% -0.0054 0.1203)
OKLCHoklch(74.82% 0.12 92.6)
XYZxyz(39.6202, 41.9017, 12.4782)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB4A #4A67C8
analogous
#C86C4A #C8AB4A #A6C84A
triadic
#C8AB4A #4AC8AB #AB4AC8
tetradic
#C8AB4A #4AC86C #4A67C8 #C84AA6
square
#C8AB4A #4AC86C #4A67C8 #C84AA6
split-complementary
#C8AB4A #4AA6C8 #6C4AC8
monochromatic
#746223 #A38932 #C8AB4A #D6C179 #E5D7A8

Accessibility & contrast

On white

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

On black

9.38
#C8AB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB4A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB4A#FFFFFF#000000##000000
##C8AB4A1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83F
Deuteranopia (green-blind)
#C3B14E
Tritanopia (blue-blind)
#D79E96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab4a;
/* rgb */ color: rgb(200, 171, 74);
/* oklch */ color: oklch(74.8% 0.120 92.6);
Tailwind
colors: {
  custom: {
    50: '#dcc380',
    500: '#c8ab4a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab4a;
$custom-light: #dcc380;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab4a",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 74
  },
  "hsl": {
    "h": 46.19,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74816,
    "c": 0.12039,
    "h": 92.6
  },
  "luminance": 0.419
}

Semantic roles & 50–950 ramp

primary
#C8AB4A
secondary
#9CA8D2
accent
#6DDD4B
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #C8AB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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