#C5AB4E#C5AB4E

#C5AB4E is a light, moderate yellow. Relative luminance 0.415; OKLCH L 74.6% C 0.116 H 93.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#C5AB4E
RGBrgb(197, 171, 78)
HSLhsl(47, 51%, 54%)
HSVhsv(47, 60%, 77%)
CMYKcmyk(0%, 13.2%, 60.4%, 22.7%)
CIE-LABlab(70.56, -1.66, 50.32)
CIE-LCHlch(70.56, 50.35, 91.89°)
OKLaboklab(74.57% -0.0077 0.1162)
OKLCHoklch(74.57% 0.116 93.8)
XYZxyz(38.9657, 41.5481, 13.1734)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AB4E #4E68C5
analogous
#C5704E #C5AB4E #A4C54E
triadic
#C5AB4E #4EC5AB #AB4EC5
tetradic
#C5AB4E #4EC570 #4E68C5 #C54EA4
square
#C5AB4E #4EC570 #4E68C5 #C54EA4
split-complementary
#C5AB4E #4EA4C5 #704EC5
monochromatic
#736226 #A18935 #C5AB4E #D4C17C #E3D7AA

Accessibility & contrast

On white

2.26
#C5AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#C5AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AB4E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AB4E#FFFFFF#000000##000000
##C5AB4E1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA844
Deuteranopia (green-blind)
#C2B052
Tritanopia (blue-blind)
#D49F97
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ab4e;
/* rgb */ color: rgb(197, 171, 78);
/* oklch */ color: oklch(74.6% 0.116 93.8);
Tailwind
colors: {
  custom: {
    50: '#d9c383',
    500: '#c5ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #c5ab4e;
$custom-light: #d9c383;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ab4e",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 46.891,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74568,
    "c": 0.11645,
    "h": 93.8
  },
  "luminance": 0.41546
}

Semantic roles & 50–950 ramp

primary
#C5AB4E
secondary
#9EA9D1
accent
#6CDA4E
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C5AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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