#C8AA42#C8AA42

#C8AA42 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.5% C 0.126 H 92.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#C8AA42
RGBrgb(200, 170, 66)
HSLhsl(47, 55%, 52%)
HSVhsv(47, 67%, 78%)
CMYKcmyk(0%, 15%, 67%, 21.6%)
CIE-LABlab(70.47, -0.61, 55.70)
CIE-LCHlch(70.47, 55.71, 90.63°)
OKLaboklab(74.53% -0.0063 0.1258)
OKLCHoklch(74.53% 0.126 92.9)
XYZxyz(39.1795, 41.4243, 11.0852)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA42 #4260C8
analogous
#C86742 #C8AA42 #A3C842
triadic
#C8AA42 #42C8AA #AA42C8
tetradic
#C8AA42 #42C867 #4260C8 #C842A3
square
#C8AA42 #42C867 #4260C8 #C842A3
split-complementary
#C8AA42 #42A3C8 #6742C8
monochromatic
#6F5E20 #9F852E #C8AA42 #D6BF71 #E4D5A1

Accessibility & contrast

On white

2.26
#C8AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#C8AA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AA42
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AA42#FFFFFF#000000##000000
##C8AA421.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA735
Deuteranopia (green-blind)
#C3B047
Tritanopia (blue-blind)
#D89D94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8aa42;
/* rgb */ color: rgb(200, 170, 66);
/* oklch */ color: oklch(74.5% 0.126 92.9);
Tailwind
colors: {
  custom: {
    50: '#dcc37b',
    500: '#c8aa42',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa42;
$custom-light: #dcc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa42",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 46.567,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74532,
    "c": 0.12597,
    "h": 92.9
  },
  "luminance": 0.41422
}

Semantic roles & 50–950 ramp

primary
#C8AA42
secondary
#96A3D0
accent
#6BDE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#15120A
muted
#84817C

Preview Lab

Preview with #C8AA42

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

Preview Lab → · Contrast checker → · Palette generator →

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