#C8AF5F#C8AF5F

#C8AF5F is a light, moderate yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.104 H 92.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C8AF5F
RGBrgb(200, 175, 95)
HSLhsl(46, 49%, 58%)
HSVhsv(46, 53%, 78%)
CMYKcmyk(0%, 12.5%, 52.5%, 21.6%)
CIE-LABlab(72.07, -1.17, 43.94)
CIE-LCHlch(72.07, 43.96, 91.52°)
OKLaboklab(75.89% -0.0044 0.1042)
OKLCHoklch(75.89% 0.104 92.4)
XYZxyz(41.2165, 43.7674, 17.1012)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF5F #5F78C8
analogous
#C87A5F #C8AF5F #ADC85F
triadic
#C8AF5F #5FC8AF #AF5FC8
tetradic
#C8AF5F #5FC87A #5F78C8 #C85FAD
square
#C8AF5F #5FC87A #5F78C8 #C85FAD
split-complementary
#C8AF5F #5FADC8 #7A5FC8
monochromatic
#806C2C #AE933C #C8AF5F #D8C68D #E7DDBA

Accessibility & contrast

On white

2.15
#C8AF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#C8AF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF5F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF5F#FFFFFF#000000##000000
##C8AF5F1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC58
Deuteranopia (green-blind)
#C4B462
Tritanopia (blue-blind)
#D6A49C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8af5f;
/* rgb */ color: rgb(200, 175, 95);
/* oklch */ color: oklch(75.9% 0.104 92.4);
Tailwind
colors: {
  custom: {
    50: '#dbc68e',
    500: '#c8af5f',
    950: '#000000',
  },
}
SCSS
$custom: #c8af5f;
$custom-light: #dbc68e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af5f",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 45.714,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.75891,
    "c": 0.10427,
    "h": 92.4
  },
  "luminance": 0.43766
}

Semantic roles & 50–950 ramp

primary
#C8AF5F
secondary
#ACB6D6
accent
#70D84F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8AF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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