#C8AD40#C8AD40

#C8AD40 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.1% C 0.129 H 95.1°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#C8AD40
RGBrgb(200, 173, 64)
HSLhsl(48, 55%, 52%)
HSVhsv(48, 68%, 78%)
CMYKcmyk(0%, 13.5%, 68%, 21.6%)
CIE-LABlab(71.24, -2.31, 57.35)
CIE-LCHlch(71.24, 57.40, 92.31°)
OKLaboklab(75.13% -0.0114 0.129)
OKLCHoklch(75.13% 0.129 95.1)
XYZxyz(39.6903, 42.5388, 10.9697)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AD40 #405BC8
analogous
#C86940 #C8AD40 #9FC840
triadic
#C8AD40 #40C8AD #AD40C8
tetradic
#C8AD40 #40C869 #405BC8 #C8409F
square
#C8AD40 #40C869 #405BC8 #C8409F
split-complementary
#C8AD40 #409FC8 #6940C8
monochromatic
#6E5E20 #9D872D #C8AD40 #D6C170 #E3D69F

Accessibility & contrast

On white

2.21
#C8AD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#C8AD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AD40
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AD40#FFFFFF#000000##000000
##C8AD401.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA32
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#D8A097
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ad40;
/* rgb */ color: rgb(200, 173, 64);
/* oklch */ color: oklch(75.1% 0.129 95.1);
Tailwind
colors: {
  custom: {
    50: '#dcc57b',
    500: '#c8ad40',
    950: '#000000',
  },
}
SCSS
$custom: #c8ad40;
$custom-light: #dcc57b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ad40",
  "rgb": {
    "r": 200,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 48.088,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75134,
    "c": 0.12947,
    "h": 95.1
  },
  "luminance": 0.42537
}

Semantic roles & 50–950 ramp

primary
#C8AD40
secondary
#94A0D0
accent
#67DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8AD40

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

Preview Lab → · Contrast checker → · Palette generator →

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