#C8AC40#C8AC40

#C8AC40 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.9% C 0.129 H 94.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C8AC40
RGBrgb(200, 172, 64)
HSLhsl(48, 55%, 52%)
HSVhsv(48, 68%, 78%)
CMYKcmyk(0%, 14%, 68%, 21.6%)
CIE-LABlab(70.98, -1.78, 57.08)
CIE-LCHlch(70.98, 57.11, 91.79°)
OKLaboklab(74.93% -0.0099 0.1284)
OKLCHoklch(74.93% 0.129 94.4)
XYZxyz(39.4993, 42.1567, 10.9060)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC40 #405CC8
analogous
#C86840 #C8AC40 #A0C840
triadic
#C8AC40 #40C8AC #AC40C8
tetradic
#C8AC40 #40C868 #405CC8 #C840A0
square
#C8AC40 #40C868 #405CC8 #C840A0
split-complementary
#C8AC40 #40A0C8 #6840C8
monochromatic
#6E5E20 #9D862D #C8AC40 #D6C170 #E3D59F

Accessibility & contrast

On white

2.23
#C8AC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#C8AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AC40
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AC40#FFFFFF#000000##000000
##C8AC401.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA932
Deuteranopia (green-blind)
#C5B146
Tritanopia (blue-blind)
#D89F96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ac40;
/* rgb */ color: rgb(200, 172, 64);
/* oklch */ color: oklch(74.9% 0.129 94.4);
Tailwind
colors: {
  custom: {
    50: '#dcc47a',
    500: '#c8ac40',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac40;
$custom-light: #dcc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac40",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 47.647,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74927,
    "c": 0.12878,
    "h": 94.4
  },
  "luminance": 0.42155
}

Semantic roles & 50–950 ramp

primary
#C8AC40
secondary
#94A0D0
accent
#68DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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