#C8AA40#C8AA40

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

Color values

HEX#C8AA40
RGBrgb(200, 170, 64)
HSLhsl(47, 55%, 52%)
HSVhsv(47, 68%, 78%)
CMYKcmyk(0%, 15%, 68%, 21.6%)
CIE-LABlab(70.46, -0.72, 56.54)
CIE-LCHlch(70.46, 56.54, 90.73°)
OKLaboklab(74.51% -0.0069 0.1273)
OKLCHoklch(74.51% 0.127 93.1)
XYZxyz(39.1215, 41.4011, 10.7801)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA40 #405EC8
analogous
#C86640 #C8AA40 #A2C840
triadic
#C8AA40 #40C8AA #AA40C8
tetradic
#C8AA40 #40C866 #405EC8 #C840A2
square
#C8AA40 #40C866 #405EC8 #C840A2
split-complementary
#C8AA40 #40A2C8 #6640C8
monochromatic
#6E5D20 #9D852D #C8AA40 #D6BF70 #E3D49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AA40#FFFFFF#000000##000000
##C8AA401.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)
#BCA732
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#D89D94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8aa40;
/* rgb */ color: rgb(200, 170, 64);
/* oklch */ color: oklch(74.5% 0.127 93.1);
Tailwind
colors: {
  custom: {
    50: '#dcc37a',
    500: '#c8aa40',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa40;
$custom-light: #dcc37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa40",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 46.765,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74514,
    "c": 0.12743,
    "h": 93.1
  },
  "luminance": 0.41399
}

Semantic roles & 50–950 ramp

primary
#C8AA40
secondary
#94A1D0
accent
#6ADF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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