#C5AB54#C5AB54

#C5AB54 is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.6% C 0.111 H 92.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#C5AB54
RGBrgb(197, 171, 84)
HSLhsl(46, 49%, 55%)
HSVhsv(46, 57%, 77%)
CMYKcmyk(0%, 13.2%, 57.4%, 22.7%)
CIE-LABlab(70.62, -1.21, 47.55)
CIE-LCHlch(70.62, 47.56, 91.46°)
OKLaboklab(74.64% -0.0056 0.111)
OKLCHoklch(74.64% 0.111 92.9)
XYZxyz(39.1907, 41.6381, 14.3584)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AB54 #546EC5
analogous
#C57354 #C5AB54 #A6C554
triadic
#C5AB54 #54C5AB #AB54C5
tetradic
#C5AB54 #54C573 #546EC5 #C554A6
square
#C5AB54 #54C573 #546EC5 #C554A6
split-complementary
#C5AB54 #54A6C5 #7354C5
monochromatic
#766428 #A48B38 #C5AB54 #D5C182 #E4D8AF

Accessibility & contrast

On white

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

On black

9.33
#C5AB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AB54
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AB54#FFFFFF#000000##000000
##C5AB541.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA84C
Deuteranopia (green-blind)
#C1B058
Tritanopia (blue-blind)
#D39F97
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ab54;
/* rgb */ color: rgb(197, 171, 84);
/* oklch */ color: oklch(74.6% 0.111 92.9);
Tailwind
colors: {
  custom: {
    50: '#d9c387',
    500: '#c5ab54',
    950: '#000000',
  },
}
SCSS
$custom: #c5ab54;
$custom-light: #d9c387;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ab54",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 46.195,
    "s": 49.345,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74638,
    "c": 0.11111,
    "h": 92.9
  },
  "luminance": 0.41636
}

Semantic roles & 50–950 ramp

primary
#C5AB54
secondary
#A3AED2
accent
#6FD94F
background
#FDFBF8
surface
#FBF7F0
border
#D4D0CB
text
#15120B
muted
#83817C

Preview Lab

Preview with #C5AB54

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

Preview Lab → · Contrast checker → · Palette generator →

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