#C8AF5B#C8AF5B

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

Color values

HEX#C8AF5B
RGBrgb(200, 175, 91)
HSLhsl(46, 50%, 57%)
HSVhsv(46, 55%, 78%)
CMYKcmyk(0%, 12.5%, 54.5%, 21.6%)
CIE-LABlab(72.03, -1.51, 45.86)
CIE-LCHlch(72.03, 45.88, 91.88°)
OKLaboklab(75.84% -0.0059 0.108)
OKLCHoklch(75.84% 0.108 93.1)
XYZxyz(41.0393, 43.6965, 16.1681)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF5B #5B74C8
analogous
#C8795B #C8AF5B #AAC85B
triadic
#C8AF5B #5BC8AF #AF5BC8
tetradic
#C8AF5B #5BC879 #5B74C8 #C85BAA
square
#C8AF5B #5BC879 #5B74C8 #C85BAA
split-complementary
#C8AF5B #5BAAC8 #795BC8
monochromatic
#7E6B2A #AC923A #C8AF5B #D7C589 #E7DCB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AF5B#FFFFFF#000000##000000
##C8AF5B1.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)
#BEAC53
Deuteranopia (green-blind)
#C5B45E
Tritanopia (blue-blind)
#D6A49C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8af5b;
/* rgb */ color: rgb(200, 175, 91);
/* oklch */ color: oklch(75.8% 0.108 93.1);
Tailwind
colors: {
  custom: {
    50: '#dbc68c',
    500: '#c8af5b',
    950: '#000000',
  },
}
SCSS
$custom: #c8af5b;
$custom-light: #dbc68c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af5b",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 46.239,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.75838,
    "c": 0.10815,
    "h": 93.1
  },
  "luminance": 0.43695
}

Semantic roles & 50–950 ramp

primary
#C8AF5B
secondary
#A9B3D6
accent
#6ED94F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8AF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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