#C8AA39#C8AA39

#C8AA39 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.5% C 0.132 H 93.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#C8AA39
RGBrgb(200, 170, 57)
HSLhsl(47, 57%, 50%)
HSVhsv(47, 72%, 78%)
CMYKcmyk(0%, 15%, 71.5%, 21.6%)
CIE-LABlab(70.40, -1.09, 59.35)
CIE-LCHlch(70.40, 59.36, 91.06°)
OKLaboklab(74.46% -0.0087 0.132)
OKLCHoklch(74.46% 0.132 93.8)
XYZxyz(38.9347, 41.3264, 9.7961)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA39 #3957C8
analogous
#C86339 #C8AA39 #9EC839
triadic
#C8AA39 #39C8AA #AA39C8
tetradic
#C8AA39 #39C863 #3957C8 #C8399E
square
#C8AA39 #39C863 #3957C8 #C8399E
split-complementary
#C8AA39 #399EC8 #6339C8
monochromatic
#69591D #99822B #C8AA39 #D5BF69 #E3D399

Accessibility & contrast

On white

2.27
#C8AA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#C8AA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AA39
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AA39#FFFFFF#000000##000000
##C8AA391.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA728
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#D89D93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8aa39;
/* rgb */ color: rgb(200, 170, 57);
/* oklch */ color: oklch(74.5% 0.132 93.8);
Tailwind
colors: {
  custom: {
    50: '#ddc276',
    500: '#c8aa39',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa39;
$custom-light: #ddc276;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa39",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 47.413,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74456,
    "c": 0.13226,
    "h": 93.8
  },
  "luminance": 0.41324
}

Semantic roles & 50–950 ramp

primary
#C8AA39
secondary
#8F9CCE
accent
#68E048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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