#C5AA4E#C5AA4E

#C5AA4E is a light, moderate yellow. Relative luminance 0.412; OKLCH L 74.4% C 0.116 H 93.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#C5AA4E
RGBrgb(197, 170, 78)
HSLhsl(46, 51%, 54%)
HSVhsv(46, 60%, 77%)
CMYKcmyk(0%, 13.7%, 60.4%, 22.7%)
CIE-LABlab(70.30, -1.13, 50.03)
CIE-LCHlch(70.30, 50.04, 91.29°)
OKLaboklab(74.36% -0.0061 0.1156)
OKLCHoklch(74.36% 0.116 93)
XYZxyz(38.7775, 41.1718, 13.1107)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AA4E #4E69C5
analogous
#C56F4E #C5AA4E #A4C54E
triadic
#C5AA4E #4EC5AA #AA4EC5
tetradic
#C5AA4E #4EC56F #4E69C5 #C54EA4
square
#C5AA4E #4EC56F #4E69C5 #C54EA4
split-complementary
#C5AA4E #4EA4C5 #6F4EC5
monochromatic
#736126 #A18835 #C5AA4E #D4C07C #E3D6AA

Accessibility & contrast

On white

2.27
#C5AA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#C5AA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AA4E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AA4E#FFFFFF#000000##000000
##C5AA4E1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#C1AF52
Tritanopia (blue-blind)
#D49E96
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c5aa4e;
/* rgb */ color: rgb(197, 170, 78);
/* oklch */ color: oklch(74.4% 0.116 93.0);
Tailwind
colors: {
  custom: {
    50: '#d9c383',
    500: '#c5aa4e',
    950: '#000000',
  },
}
SCSS
$custom: #c5aa4e;
$custom-light: #d9c383;
$custom-dark: #000000;
JSON
{
  "hex": "#c5aa4e",
  "rgb": {
    "r": 197,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 46.387,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74361,
    "c": 0.11573,
    "h": 93
  },
  "luminance": 0.4117
}

Semantic roles & 50–950 ramp

primary
#C5AA4E
secondary
#9EAAD1
accent
#6EDA4E
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C5AA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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