#C8AB45#C8AB45

#C8AB45 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.124 H 93.2°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#C8AB45
RGBrgb(200, 171, 69)
HSLhsl(47, 54%, 53%)
HSVhsv(47, 66%, 78%)
CMYKcmyk(0%, 14.5%, 65.5%, 21.6%)
CIE-LABlab(70.76, -0.96, 54.70)
CIE-LCHlch(70.76, 54.71, 91.01°)
OKLaboklab(74.77% -0.0069 0.1242)
OKLCHoklch(74.77% 0.124 93.2)
XYZxyz(39.4584, 41.8370, 11.6260)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB45 #4562C8
analogous
#C86A45 #C8AB45 #A3C845
triadic
#C8AB45 #45C8AB #AB45C8
tetradic
#C8AB45 #45C86A #4562C8 #C845A3
square
#C8AB45 #45C86A #4562C8 #C845A3
split-complementary
#C8AB45 #45A3C8 #6A45C8
monochromatic
#716021 #A0872F #C8AB45 #D6C074 #E4D6A3

Accessibility & contrast

On white

2.24
#C8AB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#C8AB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB45
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB45#FFFFFF#000000##000000
##C8AB451.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#C4B14A
Tritanopia (blue-blind)
#D89E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab45;
/* rgb */ color: rgb(200, 171, 69);
/* oklch */ color: oklch(74.8% 0.124 93.2);
Tailwind
colors: {
  custom: {
    50: '#dcc37d',
    500: '#c8ab45',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab45;
$custom-light: #dcc37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab45",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 46.718,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74766,
    "c": 0.12436,
    "h": 93.2
  },
  "luminance": 0.41835
}

Semantic roles & 50–950 ramp

primary
#C8AB45
secondary
#98A5D1
accent
#6BDE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C8AB45

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

Preview Lab → · Contrast checker → · Palette generator →

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