#C8AB33#C8AB33

#C8AB33 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.6% C 0.137 H 94.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#C8AB33
RGBrgb(200, 171, 51)
HSLhsl(48, 59%, 49%)
HSVhsv(48, 75%, 78%)
CMYKcmyk(0%, 14.5%, 74.5%, 21.6%)
CIE-LABlab(70.63, -1.90, 61.86)
CIE-LCHlch(70.63, 61.89, 91.76°)
OKLaboklab(74.62% -0.0117 0.1361)
OKLCHoklch(74.62% 0.137 94.9)
XYZxyz(38.9819, 41.6464, 9.1166)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB33 #3350C8
analogous
#C86133 #C8AB33 #9BC833
triadic
#C8AB33 #33C8AB #AB33C8
tetradic
#C8AB33 #33C861 #3350C8 #C8339B
square
#C8AB33 #33C861 #3350C8 #C8339B
split-complementary
#C8AB33 #339BC8 #6133C8
monochromatic
#66581A #978127 #C8AB33 #D7C061 #E3D392

Accessibility & contrast

On white

2.25
#C8AB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#C8AB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB33
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB33#FFFFFF#000000##000000
##C8AB331.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA81E
Deuteranopia (green-blind)
#C4B13A
Tritanopia (blue-blind)
#D89D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab33;
/* rgb */ color: rgb(200, 171, 51);
/* oklch */ color: oklch(74.6% 0.137 94.9);
Tailwind
colors: {
  custom: {
    50: '#ddc373',
    500: '#c8ab33',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab33;
$custom-light: #ddc373;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab33",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 48.322,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7462,
    "c": 0.13664,
    "h": 94.9
  },
  "luminance": 0.41644
}

Semantic roles & 50–950 ramp

primary
#C8AB33
secondary
#8996CE
accent
#64E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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