#C8AC4F#C8AC4F

#C8AC4F is a light, moderate yellow. Relative luminance 0.423; OKLCH L 75.1% C 0.117 H 92.6°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#C8AC4F
RGBrgb(200, 172, 79)
HSLhsl(46, 52%, 55%)
HSVhsv(46, 61%, 78%)
CMYKcmyk(0%, 14%, 60.5%, 21.6%)
CIE-LABlab(71.11, -0.84, 50.55)
CIE-LCHlch(71.11, 50.56, 90.95°)
OKLaboklab(75.08% -0.0054 0.1168)
OKLCHoklch(75.08% 0.117 92.6)
XYZxyz(39.9850, 42.3510, 13.4640)
Luminance0.4235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AC4F #4F6BC8
analogous
#C8704F #C8AC4F #A7C84F
triadic
#C8AC4F #4FC8AC #AC4FC8
tetradic
#C8AC4F #4FC870 #4F6BC8 #C84FA7
square
#C8AC4F #4FC870 #4F6BC8 #C84FA7
split-complementary
#C8AC4F #4FA7C8 #704FC8
monochromatic
#776425 #A68C34 #C8AC4F #D7C27E #E5D8AC

Accessibility & contrast

On white

2.22
#C8AC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#C8AC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AC4F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AC4F#FFFFFF#000000##000000
##C8AC4F1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA945
Deuteranopia (green-blind)
#C4B253
Tritanopia (blue-blind)
#D7A097
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c8ac4f;
/* rgb */ color: rgb(200, 172, 79);
/* oklch */ color: oklch(75.1% 0.117 92.6);
Tailwind
colors: {
  custom: {
    50: '#dcc484',
    500: '#c8ac4f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ac4f;
$custom-light: #dcc484;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ac4f",
  "rgb": {
    "r": 200,
    "g": 172,
    "b": 79
  },
  "hsl": {
    "h": 46.116,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75075,
    "c": 0.11688,
    "h": 92.6
  },
  "luminance": 0.42349
}

Semantic roles & 50–950 ramp

primary
#C8AC4F
secondary
#A0ACD3
accent
#6DDC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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