#C8AE51#C8AE51

#C8AE51 is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.117 H 93.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C8AE51
RGBrgb(200, 174, 81)
HSLhsl(47, 52%, 55%)
HSVhsv(47, 60%, 78%)
CMYKcmyk(0%, 13%, 59.5%, 21.6%)
CIE-LABlab(71.66, -1.75, 50.23)
CIE-LCHlch(71.66, 50.26, 92.00°)
OKLaboklab(75.51% -0.0078 0.1163)
OKLCHoklch(75.51% 0.117 93.8)
XYZxyz(40.4424, 43.1475, 13.9811)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AE51 #516BC8
analogous
#C87351 #C8AE51 #A6C851
triadic
#C8AE51 #51C8AE #AE51C8
tetradic
#C8AE51 #51C873 #516BC8 #C851A6
square
#C8AE51 #51C873 #516BC8 #C851A6
split-complementary
#C8AE51 #51A6C8 #7351C8
monochromatic
#796726 #A78E35 #C8AE51 #D7C480 #E5D9AE

Accessibility & contrast

On white

2.18
#C8AE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#C8AE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AE51
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AE51#FFFFFF#000000##000000
##C8AE511.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#C5B355
Tritanopia (blue-blind)
#D7A299
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8ae51;
/* rgb */ color: rgb(200, 174, 81);
/* oklch */ color: oklch(75.5% 0.117 93.8);
Tailwind
colors: {
  custom: {
    50: '#dcc585',
    500: '#c8ae51',
    950: '#000000',
  },
}
SCSS
$custom: #c8ae51;
$custom-light: #dcc585;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ae51",
  "rgb": {
    "r": 200,
    "g": 174,
    "b": 81
  },
  "hsl": {
    "h": 46.891,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75511,
    "c": 0.11658,
    "h": 93.8
  },
  "luminance": 0.43146
}

Semantic roles & 50–950 ramp

primary
#C8AE51
secondary
#A1ACD3
accent
#6CDB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AE51

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

Preview Lab → · Contrast checker → · Palette generator →

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