#C8AF4D#C8AF4D

#C8AF4D is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.121 H 95.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C8AF4D
RGBrgb(200, 175, 77)
HSLhsl(48, 53%, 54%)
HSVhsv(48, 62%, 78%)
CMYKcmyk(0%, 12.5%, 61.5%, 21.6%)
CIE-LABlab(71.88, -2.56, 52.33)
CIE-LCHlch(71.88, 52.39, 92.80°)
OKLaboklab(75.67% -0.0106 0.1203)
OKLCHoklch(75.67% 0.121 95)
XYZxyz(40.4907, 43.4771, 13.2789)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF4D #4D66C8
analogous
#C8724D #C8AF4D #A4C84D
triadic
#C8AF4D #4DC8AF #AF4DC8
tetradic
#C8AF4D #4DC872 #4D66C8 #C84DA4
square
#C8AF4D #4DC872 #4D66C8 #C84DA4
split-complementary
#C8AF4D #4DA4C8 #724DC8
monochromatic
#766624 #A58E33 #C8AF4D #D6C47C #E5D9AB

Accessibility & contrast

On white

2.17
#C8AF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C8AF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF4D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF4D#FFFFFF#000000##000000
##C8AF4D1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8af4d;
/* rgb */ color: rgb(200, 175, 77);
/* oklch */ color: oklch(75.7% 0.121 95.0);
Tailwind
colors: {
  custom: {
    50: '#dcc682',
    500: '#c8af4d',
    950: '#000000',
  },
}
SCSS
$custom: #c8af4d;
$custom-light: #dcc682;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af4d",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 47.805,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75674,
    "c": 0.12075,
    "h": 95
  },
  "luminance": 0.43475
}

Semantic roles & 50–950 ramp

primary
#C8AF4D
secondary
#9EA9D2
accent
#69DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8AF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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