#C8AF4A#C8AF4A

#C8AF4A is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.123 H 95.4°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#C8AF4A
RGBrgb(200, 175, 74)
HSLhsl(48, 53%, 54%)
HSVhsv(48, 63%, 78%)
CMYKcmyk(0%, 12.5%, 63%, 21.6%)
CIE-LABlab(71.85, -2.76, 53.66)
CIE-LCHlch(71.85, 53.73, 92.95°)
OKLaboklab(75.64% -0.0115 0.1227)
OKLCHoklch(75.64% 0.123 95.4)
XYZxyz(40.3872, 43.4357, 12.7338)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF4A #4A63C8
analogous
#C8704A #C8AF4A #A2C84A
triadic
#C8AF4A #4AC8AF #AF4AC8
tetradic
#C8AF4A #4AC870 #4A63C8 #C84AA2
square
#C8AF4A #4AC870 #4A63C8 #C84AA2
split-complementary
#C8AF4A #4AA2C8 #704AC8
monochromatic
#746423 #A38D32 #C8AF4A #D6C479 #E5D8A8

Accessibility & contrast

On white

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

On black

9.69
#C8AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF4A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF4A#FFFFFF#000000##000000
##C8AF4A1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3F
Deuteranopia (green-blind)
#C6B34F
Tritanopia (blue-blind)
#D7A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af4a;
/* rgb */ color: rgb(200, 175, 74);
/* oklch */ color: oklch(75.6% 0.123 95.4);
Tailwind
colors: {
  custom: {
    50: '#dcc681',
    500: '#c8af4a',
    950: '#000000',
  },
}
SCSS
$custom: #c8af4a;
$custom-light: #dcc681;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af4a",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 48.095,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75643,
    "c": 0.12324,
    "h": 95.4
  },
  "luminance": 0.43434
}

Semantic roles & 50–950 ramp

primary
#C8AF4A
secondary
#9CA7D2
accent
#68DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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