#C8AA45#C8AA45

#C8AA45 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.6% C 0.124 H 92.5°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#C8AA45
RGBrgb(200, 170, 69)
HSLhsl(46, 54%, 53%)
HSVhsv(46, 66%, 78%)
CMYKcmyk(0%, 15%, 65.5%, 21.6%)
CIE-LABlab(70.50, -0.43, 54.42)
CIE-LCHlch(70.50, 54.42, 90.45°)
OKLaboklab(74.56% -0.0054 0.1236)
OKLCHoklch(74.56% 0.124 92.5)
XYZxyz(39.2702, 41.4606, 11.5633)
Luminance0.4146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA45 #4563C8
analogous
#C86945 #C8AA45 #A4C845
triadic
#C8AA45 #45C8AA #AA45C8
tetradic
#C8AA45 #45C869 #4563C8 #C845A4
square
#C8AA45 #45C869 #4563C8 #C845A4
split-complementary
#C8AA45 #45A4C8 #6945C8
monochromatic
#715F21 #A0872F #C8AA45 #D6C074 #E4D5A3

Accessibility & contrast

On white

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

On black

9.29
#C8AA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AA45
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AA45#FFFFFF#000000##000000
##C8AA451.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#D89D95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8aa45;
/* rgb */ color: rgb(200, 170, 69);
/* oklch */ color: oklch(74.6% 0.124 92.5);
Tailwind
colors: {
  custom: {
    50: '#dcc37d',
    500: '#c8aa45',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa45;
$custom-light: #dcc37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa45",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 69
  },
  "hsl": {
    "h": 46.26,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7456,
    "c": 0.12369,
    "h": 92.5
  },
  "luminance": 0.41458
}

Semantic roles & 50–950 ramp

primary
#C8AA45
secondary
#98A5D1
accent
#6CDE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C8AA45

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

Preview Lab → · Contrast checker → · Palette generator →

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