#C8AB3B#C8AB3B

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

Color values

HEX#C8AB3B
RGBrgb(200, 171, 59)
HSLhsl(48, 56%, 51%)
HSVhsv(48, 71%, 78%)
CMYKcmyk(0%, 14.5%, 70.5%, 21.6%)
CIE-LABlab(70.68, -1.52, 58.83)
CIE-LCHlch(70.68, 58.85, 91.48°)
OKLaboklab(74.68% -0.0097 0.1312)
OKLCHoklch(74.68% 0.132 94.2)
XYZxyz(39.1738, 41.7231, 10.1268)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB3B #3B58C8
analogous
#C8653B #C8AB3B #9EC83B
triadic
#C8AB3B #3BC8AB #AB3BC8
tetradic
#C8AB3B #3BC865 #3B58C8 #C83B9E
square
#C8AB3B #3BC865 #3B58C8 #C83B9E
split-complementary
#C8AB3B #3B9EC8 #653BC8
monochromatic
#6B5B1E #9A842B #C8AB3B #D5BF6B #E3D49B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AB3B#FFFFFF#000000##000000
##C8AB3B1.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)
#BDA82B
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#D89E94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab3b;
/* rgb */ color: rgb(200, 171, 59);
/* oklch */ color: oklch(74.7% 0.132 94.2);
Tailwind
colors: {
  custom: {
    50: '#dcc377',
    500: '#c8ab3b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab3b;
$custom-light: #dcc377;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab3b",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 47.66,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74679,
    "c": 0.13159,
    "h": 94.2
  },
  "luminance": 0.41721
}

Semantic roles & 50–950 ramp

primary
#C8AB3B
secondary
#909DCF
accent
#67DF48
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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