#C8AF5D#C8AF5D

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

Color values

HEX#C8AF5D
RGBrgb(200, 175, 93)
HSLhsl(46, 49%, 57%)
HSVhsv(46, 54%, 78%)
CMYKcmyk(0%, 12.5%, 53.5%, 21.6%)
CIE-LABlab(72.05, -1.34, 44.90)
CIE-LCHlch(72.05, 44.92, 91.71°)
OKLaboklab(75.86% -0.0051 0.1061)
OKLCHoklch(75.86% 0.106 92.8)
XYZxyz(41.1267, 43.7315, 16.6285)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF5D #5D76C8
analogous
#C8795D #C8AF5D #ACC85D
triadic
#C8AF5D #5DC8AF #AF5DC8
tetradic
#C8AF5D #5DC879 #5D76C8 #C85DAC
square
#C8AF5D #5DC879 #5D76C8 #C85DAC
split-complementary
#C8AF5D #5DACC8 #795DC8
monochromatic
#7F6C2B #AD923B #C8AF5D #D8C68B #E7DCB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AF5D#FFFFFF#000000##000000
##C8AF5D1.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)
#BEAC56
Deuteranopia (green-blind)
#C5B460
Tritanopia (blue-blind)
#D6A49C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8af5d;
/* rgb */ color: rgb(200, 175, 93);
/* oklch */ color: oklch(75.9% 0.106 92.8);
Tailwind
colors: {
  custom: {
    50: '#dbc68d',
    500: '#c8af5d',
    950: '#000000',
  },
}
SCSS
$custom: #c8af5d;
$custom-light: #dbc68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af5d",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 93
  },
  "hsl": {
    "h": 45.981,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.75864,
    "c": 0.10622,
    "h": 92.8
  },
  "luminance": 0.4373
}

Semantic roles & 50–950 ramp

primary
#C8AF5D
secondary
#ABB5D6
accent
#6FD94F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8AF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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