#C8AC42#C8AC42

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

Color values

HEX#C8AC42
RGBrgb(200, 172, 66)
HSLhsl(47, 55%, 52%)
HSVhsv(47, 67%, 78%)
CMYKcmyk(0%, 14%, 67%, 21.6%)
CIE-LABlab(70.99, -1.67, 56.25)
CIE-LCHlch(70.99, 56.28, 91.70°)
OKLaboklab(74.94% -0.0093 0.127)
OKLCHoklch(74.94% 0.127 94.2)
XYZxyz(39.5572, 42.1799, 11.2111)
Luminance0.4218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC42 #425EC8
analogous
#C86942 #C8AC42 #A1C842
triadic
#C8AC42 #42C8AC #AC42C8
tetradic
#C8AC42 #42C869 #425EC8 #C842A1
square
#C8AC42 #42C869 #425EC8 #C842A1
split-complementary
#C8AC42 #42A1C8 #6942C8
monochromatic
#6F5F20 #9F872E #C8AC42 #D6C171 #E4D6A1

Accessibility & contrast

On white

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

On black

9.44
#C8AC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AC42
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AC42#FFFFFF#000000##000000
##C8AC421.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ac42;
/* rgb */ color: rgb(200, 172, 66);
/* oklch */ color: oklch(74.9% 0.127 94.2);
Tailwind
colors: {
  custom: {
    50: '#dcc47c',
    500: '#c8ac42',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac42;
$custom-light: #dcc47c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac42",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 47.463,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74945,
    "c": 0.12731,
    "h": 94.2
  },
  "luminance": 0.42178
}

Semantic roles & 50–950 ramp

primary
#C8AC42
secondary
#96A2D0
accent
#69DE4A
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15120A
muted
#84817C

Preview Lab

Preview with #C8AC42

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

Preview Lab → · Contrast checker → · Palette generator →

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