#C8AB3A#C8AB3A

#C8AB3A is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.7% C 0.132 H 94.3°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#C8AB3A
RGBrgb(200, 171, 58)
HSLhsl(48, 56%, 51%)
HSVhsv(48, 71%, 78%)
CMYKcmyk(0%, 14.5%, 71%, 21.6%)
CIE-LABlab(70.67, -1.57, 59.23)
CIE-LCHlch(70.67, 59.25, 91.52°)
OKLaboklab(74.67% -0.01 0.1319)
OKLCHoklch(74.67% 0.132 94.3)
XYZxyz(39.1481, 41.7128, 9.9915)
Luminance0.4171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB3A #3A57C8
analogous
#C8643A #C8AB3A #9EC83A
triadic
#C8AB3A #3AC8AB #AB3AC8
tetradic
#C8AB3A #3AC864 #3A57C8 #C83A9E
square
#C8AB3A #3AC864 #3A57C8 #C83A9E
split-complementary
#C8AB3A #3A9EC8 #643AC8
monochromatic
#6A5A1E #9A832B #C8AB3A #D5BF6A #E3D49A

Accessibility & contrast

On white

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

On black

9.34
#C8AB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB3A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB3A#FFFFFF#000000##000000
##C8AB3A1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82A
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#D89E94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab3a;
/* rgb */ color: rgb(200, 171, 58);
/* oklch */ color: oklch(74.7% 0.132 94.3);
Tailwind
colors: {
  custom: {
    50: '#ddc377',
    500: '#c8ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab3a;
$custom-light: #ddc377;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab3a",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 47.746,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74671,
    "c": 0.13226,
    "h": 94.3
  },
  "luminance": 0.41711
}

Semantic roles & 50–950 ramp

primary
#C8AB3A
secondary
#8F9CCE
accent
#67E048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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