#C8AF51#C8AF51

#C8AF51 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.117 H 94.5°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C8AF51
RGBrgb(200, 175, 81)
HSLhsl(47, 52%, 55%)
HSVhsv(47, 60%, 78%)
CMYKcmyk(0%, 12.5%, 59.5%, 21.6%)
CIE-LABlab(71.92, -2.28, 50.53)
CIE-LCHlch(71.92, 50.58, 92.58°)
OKLaboklab(75.72% -0.0093 0.117)
OKLCHoklch(75.72% 0.117 94.5)
XYZxyz(40.6363, 43.5353, 14.0457)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF51 #516AC8
analogous
#C87351 #C8AF51 #A5C851
triadic
#C8AF51 #51C8AF #AF51C8
tetradic
#C8AF51 #51C873 #516AC8 #C851A5
square
#C8AF51 #51C873 #516AC8 #C851A5
split-complementary
#C8AF51 #51A5C8 #7351C8
monochromatic
#796726 #A78F35 #C8AF51 #D7C480 #E5DAAE

Accessibility & contrast

On white

2.16
#C8AF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#C8AF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF51
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF51#FFFFFF#000000##000000
##C8AF511.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC47
Deuteranopia (green-blind)
#C6B455
Tritanopia (blue-blind)
#D7A39A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af51;
/* rgb */ color: rgb(200, 175, 81);
/* oklch */ color: oklch(75.7% 0.117 94.5);
Tailwind
colors: {
  custom: {
    50: '#dbc685',
    500: '#c8af51',
    950: '#000000',
  },
}
SCSS
$custom: #c8af51;
$custom-light: #dbc685;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af51",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 47.395,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75718,
    "c": 0.11732,
    "h": 94.5
  },
  "luminance": 0.43533
}

Semantic roles & 50–950 ramp

primary
#C8AF51
secondary
#A1ACD3
accent
#6ADB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8AF51

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

Preview Lab → · Contrast checker → · Palette generator →

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