#C8AB54#C8AB54

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

Color values

HEX#C8AB54
RGBrgb(200, 171, 84)
HSLhsl(45, 51%, 56%)
HSVhsv(45, 58%, 78%)
CMYKcmyk(0%, 14.5%, 58%, 21.6%)
CIE-LABlab(70.90, 0.06, 47.95)
CIE-LCHlch(70.90, 47.95, 89.93°)
OKLaboklab(74.93% -0.0021 0.1118)
OKLCHoklch(74.93% 0.112 91.1)
XYZxyz(39.9843, 42.0473, 14.3956)
Luminance0.4204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB54 #5471C8
analogous
#C87154 #C8AB54 #ABC854
triadic
#C8AB54 #54C8AB #AB54C8
tetradic
#C8AB54 #54C871 #5471C8 #C854AB
square
#C8AB54 #54C871 #5471C8 #C854AB
split-complementary
#C8AB54 #54ABC8 #7154C8
monochromatic
#7A6627 #A98C36 #C8AB54 #D7C282 #E6D8B1

Accessibility & contrast

On white

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

On black

9.41
#C8AB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB54
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB54#FFFFFF#000000##000000
##C8AB541.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ab54;
/* rgb */ color: rgb(200, 171, 84);
/* oklch */ color: oklch(74.9% 0.112 91.1);
Tailwind
colors: {
  custom: {
    50: '#dbc387',
    500: '#c8ab54',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab54;
$custom-light: #dbc387;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab54",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 45,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.74927,
    "c": 0.11179,
    "h": 91.1
  },
  "luminance": 0.42045
}

Semantic roles & 50–950 ramp

primary
#C8AB54
secondary
#A4B0D4
accent
#70DB4D
background
#FDFBF8
surface
#FBF7F0
border
#D4D0CB
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AB54

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

Preview Lab → · Contrast checker → · Palette generator →

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