#C8AC3A#C8AC3A

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

Color values

HEX#C8AC3A
RGBrgb(200, 172, 58)
HSLhsl(48, 56%, 51%)
HSVhsv(48, 71%, 78%)
CMYKcmyk(0%, 14%, 71%, 21.6%)
CIE-LABlab(70.93, -2.10, 59.49)
CIE-LCHlch(70.93, 59.52, 92.02°)
OKLaboklab(74.88% -0.0115 0.1324)
OKLCHoklch(74.88% 0.133 95)
XYZxyz(39.3377, 42.0920, 10.0547)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC3A #3A56C8
analogous
#C8653A #C8AC3A #9DC83A
triadic
#C8AC3A #3AC8AC #AC3AC8
tetradic
#C8AC3A #3AC865 #3A56C8 #C83A9D
square
#C8AC3A #3AC865 #3A56C8 #C83A9D
split-complementary
#C8AC3A #3A9DC8 #653AC8
monochromatic
#6A5B1E #9A842B #C8AC3A #D5C06A #E3D49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AC3A#FFFFFF#000000##000000
##C8AC3A1.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)
#BEA929
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#D89F95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ac3a;
/* rgb */ color: rgb(200, 172, 58);
/* oklch */ color: oklch(74.9% 0.133 95.0);
Tailwind
colors: {
  custom: {
    50: '#ddc477',
    500: '#c8ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac3a;
$custom-light: #ddc477;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac3a",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 48.169,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74878,
    "c": 0.13293,
    "h": 95
  },
  "luminance": 0.4209
}

Semantic roles & 50–950 ramp

primary
#C8AC3A
secondary
#8F9CCE
accent
#66E048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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