#C8AB4E#C8AB4E

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

Color values

HEX#C8AB4E
RGBrgb(200, 171, 78)
HSLhsl(46, 53%, 55%)
HSVhsv(46, 61%, 78%)
CMYKcmyk(0%, 14.5%, 61%, 21.6%)
CIE-LABlab(70.84, -0.38, 50.72)
CIE-LCHlch(70.84, 50.72, 90.42°)
OKLaboklab(74.86% -0.0041 0.117)
OKLCHoklch(74.86% 0.117 92)
XYZxyz(39.7593, 41.9573, 13.2106)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB4E #4E6BC8
analogous
#C86E4E #C8AB4E #A8C84E
triadic
#C8AB4E #4EC8AB #AB4EC8
tetradic
#C8AB4E #4EC86E #4E6BC8 #C84EA8
square
#C8AB4E #4EC86E #4E6BC8 #C84EA8
split-complementary
#C8AB4E #4EA8C8 #6E4EC8
monochromatic
#776325 #A58A33 #C8AB4E #D7C17D #E5D7AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AB4E#FFFFFF#000000##000000
##C8AB4E1.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)
#BCA844
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#D79F97
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab4e;
/* rgb */ color: rgb(200, 171, 78);
/* oklch */ color: oklch(74.9% 0.117 92.0);
Tailwind
colors: {
  custom: {
    50: '#dcc383',
    500: '#c8ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab4e;
$custom-light: #dcc383;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab4e",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 45.738,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.74858,
    "c": 0.11704,
    "h": 92
  },
  "luminance": 0.41955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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