#C8AF5A#C8AF5A

#C8AF5A is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.109 H 93.3°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C8AF5A
RGBrgb(200, 175, 90)
HSLhsl(46, 50%, 57%)
HSVhsv(46, 55%, 78%)
CMYKcmyk(0%, 12.5%, 55%, 21.6%)
CIE-LABlab(72.01, -1.59, 46.33)
CIE-LCHlch(72.01, 46.36, 91.96°)
OKLaboklab(75.83% -0.0062 0.1089)
OKLCHoklch(75.83% 0.109 93.3)
XYZxyz(40.9964, 43.6794, 15.9424)
Luminance0.4368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF5A #5A73C8
analogous
#C8785A #C8AF5A #AAC85A
triadic
#C8AF5A #5AC8AF #AF5AC8
tetradic
#C8AF5A #5AC878 #5A73C8 #C85AAA
square
#C8AF5A #5AC878 #5A73C8 #C85AAA
split-complementary
#C8AF5A #5AAAC8 #785AC8
monochromatic
#7E6B2A #AC9239 #C8AF5A #D7C588 #E7DCB6

Accessibility & contrast

On white

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

On black

9.74
#C8AF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF5A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF5A#FFFFFF#000000##000000
##C8AF5A1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC52
Deuteranopia (green-blind)
#C5B45D
Tritanopia (blue-blind)
#D6A49C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af5a;
/* rgb */ color: rgb(200, 175, 90);
/* oklch */ color: oklch(75.8% 0.109 93.3);
Tailwind
colors: {
  custom: {
    50: '#dbc68b',
    500: '#c8af5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8af5a;
$custom-light: #dbc68b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af5a",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 90
  },
  "hsl": {
    "h": 46.364,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.75825,
    "c": 0.10911,
    "h": 93.3
  },
  "luminance": 0.43677
}

Semantic roles & 50–950 ramp

primary
#C8AF5A
secondary
#A8B3D5
accent
#6EDA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8AF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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