#C8AA4F#C8AA4F

#C8AA4F is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.7% C 0.116 H 91.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#C8AA4F
RGBrgb(200, 170, 79)
HSLhsl(45, 52%, 55%)
HSVhsv(45, 61%, 78%)
CMYKcmyk(0%, 15%, 60.5%, 21.6%)
CIE-LABlab(70.59, 0.23, 49.97)
CIE-LCHlch(70.59, 49.97, 89.74°)
OKLaboklab(74.66% -0.0023 0.1155)
OKLCHoklch(74.66% 0.116 91.1)
XYZxyz(39.6072, 41.5954, 13.3381)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA4F #4F6DC8
analogous
#C86E4F #C8AA4F #AAC84F
triadic
#C8AA4F #4FC8AA #AA4FC8
tetradic
#C8AA4F #4FC86E #4F6DC8 #C84FAA
square
#C8AA4F #4FC86E #4F6DC8 #C84FAA
split-complementary
#C8AA4F #4FAAC8 #6E4FC8
monochromatic
#776325 #A68A34 #C8AA4F #D7C17E #E5D7AC

Accessibility & contrast

On white

2.25
#C8AA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#C8AA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AA4F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AA4F#FFFFFF#000000##000000
##C8AA4F1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA846
Deuteranopia (green-blind)
#C2B053
Tritanopia (blue-blind)
#D79E96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8aa4f;
/* rgb */ color: rgb(200, 170, 79);
/* oklch */ color: oklch(74.7% 0.116 91.1);
Tailwind
colors: {
  custom: {
    50: '#dcc383',
    500: '#c8aa4f',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa4f;
$custom-light: #dcc383;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa4f",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 79
  },
  "hsl": {
    "h": 45.124,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74664,
    "c": 0.11552,
    "h": 91.1
  },
  "luminance": 0.41593
}

Semantic roles & 50–950 ramp

primary
#C8AA4F
secondary
#A0ADD3
accent
#70DC4C
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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