#C8AC3C#C8AC3C

#C8AC3C is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.132 H 94.8°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#C8AC3C
RGBrgb(200, 172, 60)
HSLhsl(48, 56%, 51%)
HSVhsv(48, 70%, 78%)
CMYKcmyk(0%, 14%, 70%, 21.6%)
CIE-LABlab(70.95, -2.00, 58.70)
CIE-LCHlch(70.95, 58.73, 91.95°)
OKLaboklab(74.89% -0.011 0.1311)
OKLCHoklch(74.89% 0.132 94.8)
XYZxyz(39.3895, 42.1128, 10.3279)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC3C #3C58C8
analogous
#C8663C #C8AC3C #9EC83C
triadic
#C8AC3C #3CC8AC #AC3CC8
tetradic
#C8AC3C #3CC866 #3C58C8 #C83C9E
square
#C8AC3C #3CC866 #3C58C8 #C83C9E
split-complementary
#C8AC3C #3C9EC8 #663CC8
monochromatic
#6B5C1E #9B852C #C8AC3C #D5C06C #E3D59B

Accessibility & contrast

On white

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

On black

9.42
#C8AC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AC3C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AC3C#FFFFFF#000000##000000
##C8AC3C1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92C
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#D89F95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ac3c;
/* rgb */ color: rgb(200, 172, 60);
/* oklch */ color: oklch(74.9% 0.132 94.8);
Tailwind
colors: {
  custom: {
    50: '#dcc478',
    500: '#c8ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac3c;
$custom-light: #dcc478;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac3c",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 48,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74894,
    "c": 0.13159,
    "h": 94.8
  },
  "luminance": 0.42111
}

Semantic roles & 50–950 ramp

primary
#C8AC3C
secondary
#919DCF
accent
#67DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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