#C8AC3D#C8AC3D

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

Color values

HEX#C8AC3D
RGBrgb(200, 172, 61)
HSLhsl(48, 56%, 51%)
HSVhsv(48, 70%, 78%)
CMYKcmyk(0%, 14%, 69.5%, 21.6%)
CIE-LABlab(70.96, -1.95, 58.30)
CIE-LCHlch(70.96, 58.33, 91.91°)
OKLaboklab(74.9% -0.0107 0.1305)
OKLCHoklch(74.9% 0.131 94.7)
XYZxyz(39.4162, 42.1235, 10.4685)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC3D #3D59C8
analogous
#C8663D #C8AC3D #9EC83D
triadic
#C8AC3D #3DC8AC #AC3DC8
tetradic
#C8AC3D #3DC866 #3D59C8 #C83D9E
square
#C8AC3D #3DC866 #3D59C8 #C83D9E
split-complementary
#C8AC3D #3D9EC8 #663DC8
monochromatic
#6C5C1F #9C852C #C8AC3D #D6C06D #E3D59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AC3D#FFFFFF#000000##000000
##C8AC3D1.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)
#BEA92E
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#D89F95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ac3d;
/* rgb */ color: rgb(200, 172, 61);
/* oklch */ color: oklch(74.9% 0.131 94.7);
Tailwind
colors: {
  custom: {
    50: '#dcc479',
    500: '#c8ac3d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac3d;
$custom-light: #dcc479;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac3d",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 47.914,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74902,
    "c": 0.1309,
    "h": 94.7
  },
  "luminance": 0.42121
}

Semantic roles & 50–950 ramp

primary
#C8AC3D
secondary
#929ECF
accent
#67DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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