#C8AC33#C8AC33

#C8AC33 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.8% C 0.137 H 95.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C8AC33
RGBrgb(200, 172, 51)
HSLhsl(49, 59%, 49%)
HSVhsv(49, 75%, 78%)
CMYKcmyk(0%, 14%, 74.5%, 21.6%)
CIE-LABlab(70.89, -2.43, 62.11)
CIE-LCHlch(70.89, 62.16, 92.24°)
OKLaboklab(74.83% -0.0132 0.1367)
OKLCHoklch(74.83% 0.137 95.5)
XYZxyz(39.1715, 42.0256, 9.1798)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC33 #334FC8
analogous
#C86233 #C8AC33 #9AC833
triadic
#C8AC33 #33C8AC #AC33C8
tetradic
#C8AC33 #33C862 #334FC8 #C8339A
square
#C8AC33 #33C862 #334FC8 #C8339A
split-complementary
#C8AC33 #339AC8 #6233C8
monochromatic
#66581A #978227 #C8AC33 #D7C161 #E3D492

Accessibility & contrast

On white

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

On black

9.40
#C8AC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AC33
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AC33#FFFFFF#000000##000000
##C8AC331.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81E
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#D89E94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ac33;
/* rgb */ color: rgb(200, 172, 51);
/* oklch */ color: oklch(74.8% 0.137 95.5);
Tailwind
colors: {
  custom: {
    50: '#ddc473',
    500: '#c8ac33',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac33;
$custom-light: #ddc473;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac33",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 48.725,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74827,
    "c": 0.13731,
    "h": 95.5
  },
  "luminance": 0.42023
}

Semantic roles & 50–950 ramp

primary
#C8AC33
secondary
#8996CE
accent
#63E345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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