#C8AB50#C8AB50

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

Color values

HEX#C8AB50
RGBrgb(200, 171, 80)
HSLhsl(46, 52%, 55%)
HSVhsv(46, 60%, 78%)
CMYKcmyk(0%, 14.5%, 60%, 21.6%)
CIE-LABlab(70.86, -0.23, 49.80)
CIE-LCHlch(70.86, 49.80, 90.27°)
OKLaboklab(74.88% -0.0035 0.1153)
OKLCHoklch(74.88% 0.115 91.7)
XYZxyz(39.8321, 41.9864, 13.5940)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB50 #506DC8
analogous
#C86F50 #C8AB50 #A9C850
triadic
#C8AB50 #50C8AB #AB50C8
tetradic
#C8AB50 #50C86F #506DC8 #C850A9
square
#C8AB50 #50C86F #506DC8 #C850A9
split-complementary
#C8AB50 #50A9C8 #6F50C8
monochromatic
#786426 #A68B34 #C8AB50 #D7C17F #E5D8AD

Accessibility & contrast

On white

2.23
#C8AB50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#C8AB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB50
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB50#FFFFFF#000000##000000
##C8AB501.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA947
Deuteranopia (green-blind)
#C3B154
Tritanopia (blue-blind)
#D79F97
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab50;
/* rgb */ color: rgb(200, 171, 80);
/* oklch */ color: oklch(74.9% 0.115 91.7);
Tailwind
colors: {
  custom: {
    50: '#dcc384',
    500: '#c8ab50',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab50;
$custom-light: #dcc384;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab50",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 80
  },
  "hsl": {
    "h": 45.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74881,
    "c": 0.11532,
    "h": 91.7
  },
  "luminance": 0.41984
}

Semantic roles & 50–950 ramp

primary
#C8AB50
secondary
#A1ADD3
accent
#6FDC4C
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AB50

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

Preview Lab → · Contrast checker → · Palette generator →

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