#C8AB3D#C8AB3D

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

Color values

HEX#C8AB3D
RGBrgb(200, 171, 61)
HSLhsl(47, 56%, 51%)
HSVhsv(47, 70%, 78%)
CMYKcmyk(0%, 14.5%, 69.5%, 21.6%)
CIE-LABlab(70.69, -1.42, 58.03)
CIE-LCHlch(70.69, 58.05, 91.40°)
OKLaboklab(74.69% -0.0092 0.1299)
OKLCHoklch(74.69% 0.13 94.1)
XYZxyz(39.2266, 41.7442, 10.4053)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB3D #3D5AC8
analogous
#C8653D #C8AB3D #9FC83D
triadic
#C8AB3D #3DC8AB #AB3DC8
tetradic
#C8AB3D #3DC865 #3D5AC8 #C83D9F
square
#C8AB3D #3DC865 #3D5AC8 #C83D9F
split-complementary
#C8AB3D #3D9FC8 #653DC8
monochromatic
#6C5C1F #9C842C #C8AB3D #D6C06D #E3D49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AB3D#FFFFFF#000000##000000
##C8AB3D1.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)
#BDA82E
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#D89E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab3d;
/* rgb */ color: rgb(200, 171, 61);
/* oklch */ color: oklch(74.7% 0.130 94.1);
Tailwind
colors: {
  custom: {
    50: '#dcc379',
    500: '#c8ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab3d;
$custom-light: #dcc379;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab3d",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 47.482,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74695,
    "c": 0.13023,
    "h": 94.1
  },
  "luminance": 0.41742
}

Semantic roles & 50–950 ramp

primary
#C8AB3D
secondary
#929FCF
accent
#68DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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