#C8AB3C#C8AB3C

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

Color values

HEX#C8AB3C
RGBrgb(200, 171, 60)
HSLhsl(48, 56%, 51%)
HSVhsv(48, 70%, 78%)
CMYKcmyk(0%, 14.5%, 70%, 21.6%)
CIE-LABlab(70.69, -1.47, 58.44)
CIE-LCHlch(70.69, 58.45, 91.44°)
OKLaboklab(74.69% -0.0095 0.1306)
OKLCHoklch(74.69% 0.131 94.1)
XYZxyz(39.1999, 41.7336, 10.2647)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB3C #3C59C8
analogous
#C8653C #C8AB3C #9FC83C
triadic
#C8AB3C #3CC8AB #AB3CC8
tetradic
#C8AB3C #3CC865 #3C59C8 #C83C9F
square
#C8AB3C #3CC865 #3C59C8 #C83C9F
split-complementary
#C8AB3C #3C9FC8 #653CC8
monochromatic
#6B5B1E #9B842C #C8AB3C #D5C06C #E3D49B

Accessibility & contrast

On white

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

On black

9.35
#C8AB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB3C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB3C#FFFFFF#000000##000000
##C8AB3C1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ab3c;
/* rgb */ color: rgb(200, 171, 60);
/* oklch */ color: oklch(74.7% 0.131 94.1);
Tailwind
colors: {
  custom: {
    50: '#dcc378',
    500: '#c8ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab3c;
$custom-light: #dcc378;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab3c",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 47.571,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74687,
    "c": 0.13091,
    "h": 94.1
  },
  "luminance": 0.41731
}

Semantic roles & 50–950 ramp

primary
#C8AB3C
secondary
#919ECF
accent
#68DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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