#C8AC45#C8AC45

#C8AC45 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.125 H 93.9°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#C8AC45
RGBrgb(200, 172, 69)
HSLhsl(47, 54%, 53%)
HSVhsv(47, 66%, 78%)
CMYKcmyk(0%, 14%, 65.5%, 21.6%)
CIE-LABlab(71.02, -1.49, 54.98)
CIE-LCHlch(71.02, 55.00, 91.56°)
OKLaboklab(74.97% -0.0085 0.1248)
OKLCHoklch(74.97% 0.125 93.9)
XYZxyz(39.6480, 42.2162, 11.6892)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC45 #4561C8
analogous
#C86B45 #C8AC45 #A2C845
triadic
#C8AC45 #45C8AC #AC45C8
tetradic
#C8AC45 #45C86B #4561C8 #C845A2
square
#C8AC45 #45C86B #4561C8 #C845A2
split-complementary
#C8AC45 #45A2C8 #6B45C8
monochromatic
#716021 #A0882F #C8AC45 #D6C174 #E4D6A3

Accessibility & contrast

On white

2.22
#C8AC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#C8AC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AC45
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AC45#FFFFFF#000000##000000
##C8AC451.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA939
Deuteranopia (green-blind)
#C4B14A
Tritanopia (blue-blind)
#D79F96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ac45;
/* rgb */ color: rgb(200, 172, 69);
/* oklch */ color: oklch(75.0% 0.125 93.9);
Tailwind
colors: {
  custom: {
    50: '#dcc47d',
    500: '#c8ac45',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac45;
$custom-light: #dcc47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac45",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 47.176,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74973,
    "c": 0.12505,
    "h": 93.9
  },
  "luminance": 0.42214
}

Semantic roles & 50–950 ramp

primary
#C8AC45
secondary
#98A4D1
accent
#6ADE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C8AC45

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

Preview Lab → · Contrast checker → · Palette generator →

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