#C8AB4B#C8AB4B

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

Color values

HEX#C8AB4B
RGBrgb(200, 171, 75)
HSLhsl(46, 53%, 54%)
HSVhsv(46, 63%, 78%)
CMYKcmyk(0%, 14.5%, 62.5%, 21.6%)
CIE-LABlab(70.81, -0.58, 52.07)
CIE-LCHlch(70.81, 52.07, 90.64°)
OKLaboklab(74.83% -0.0051 0.1195)
OKLCHoklch(74.83% 0.12 92.4)
XYZxyz(39.6542, 41.9153, 12.6570)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB4B #4B68C8
analogous
#C86D4B #C8AB4B #A7C84B
triadic
#C8AB4B #4BC8AB #AB4BC8
tetradic
#C8AB4B #4BC86D #4B68C8 #C84BA7
square
#C8AB4B #4BC86D #4B68C8 #C84BA7
split-complementary
#C8AB4B #4BA7C8 #6D4BC8
monochromatic
#756224 #A48932 #C8AB4B #D6C17A #E5D7A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AB4B#FFFFFF#000000##000000
##C8AB4B1.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)
#BCA841
Deuteranopia (green-blind)
#C3B14F
Tritanopia (blue-blind)
#D79E96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab4b;
/* rgb */ color: rgb(200, 171, 75);
/* oklch */ color: oklch(74.8% 0.120 92.4);
Tailwind
colors: {
  custom: {
    50: '#dcc381',
    500: '#c8ab4b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab4b;
$custom-light: #dcc381;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab4b",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 75
  },
  "hsl": {
    "h": 46.08,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74826,
    "c": 0.11957,
    "h": 92.4
  },
  "luminance": 0.41913
}

Semantic roles & 50–950 ramp

primary
#C8AB4B
secondary
#9DA9D2
accent
#6DDD4B
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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