#C8AF52#C8AF52

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

Color values

HEX#C8AF52
RGBrgb(200, 175, 82)
HSLhsl(47, 52%, 55%)
HSVhsv(47, 59%, 78%)
CMYKcmyk(0%, 12.5%, 59%, 21.6%)
CIE-LABlab(71.93, -2.21, 50.07)
CIE-LCHlch(71.93, 50.12, 92.53°)
OKLaboklab(75.73% -0.009 0.1161)
OKLCHoklch(75.73% 0.116 94.4)
XYZxyz(40.6741, 43.5505, 14.2446)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF52 #526BC8
analogous
#C87452 #C8AF52 #A6C852
triadic
#C8AF52 #52C8AF #AF52C8
tetradic
#C8AF52 #52C874 #526BC8 #C852A6
square
#C8AF52 #52C874 #526BC8 #C852A6
split-complementary
#C8AF52 #52A6C8 #7452C8
monochromatic
#796827 #A88F35 #C8AF52 #D7C480 #E6DAAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AF52#FFFFFF#000000##000000
##C8AF521.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)
#BFAC49
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#D7A39A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af52;
/* rgb */ color: rgb(200, 175, 82);
/* oklch */ color: oklch(75.7% 0.116 94.4);
Tailwind
colors: {
  custom: {
    50: '#dbc686',
    500: '#c8af52',
    950: '#000000',
  },
}
SCSS
$custom: #c8af52;
$custom-light: #dbc686;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af52",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 47.288,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75729,
    "c": 0.11645,
    "h": 94.4
  },
  "luminance": 0.43549
}

Semantic roles & 50–950 ramp

primary
#C8AF52
secondary
#A2ADD4
accent
#6BDB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8AF52

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

Preview Lab → · Contrast checker → · Palette generator →

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