#C5AB49#C5AB49

#C5AB49 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.5% C 0.121 H 94.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#C5AB49
RGBrgb(197, 171, 73)
HSLhsl(47, 52%, 53%)
HSVhsv(47, 63%, 77%)
CMYKcmyk(0%, 13.2%, 62.9%, 22.7%)
CIE-LABlab(70.51, -2.00, 52.57)
CIE-LCHlch(70.51, 52.60, 92.18°)
OKLaboklab(74.52% -0.0093 0.1203)
OKLCHoklch(74.52% 0.121 94.4)
XYZxyz(38.7932, 41.4791, 12.2650)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AB49 #4963C5
analogous
#C56D49 #C5AB49 #A1C549
triadic
#C5AB49 #49C5AB #AB49C5
tetradic
#C5AB49 #49C56D #4963C5 #C549A1
square
#C5AB49 #49C56D #4963C5 #C549A1
split-complementary
#C5AB49 #49A1C5 #6D49C5
monochromatic
#706024 #9E8832 #C5AB49 #D4C077 #E3D6A6

Accessibility & contrast

On white

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

On black

9.30
#C5AB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AB49
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AB49#FFFFFF#000000##000000
##C5AB491.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83E
Deuteranopia (green-blind)
#C2B04E
Tritanopia (blue-blind)
#D49F96
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c5ab49;
/* rgb */ color: rgb(197, 171, 73);
/* oklch */ color: oklch(74.5% 0.121 94.4);
Tailwind
colors: {
  custom: {
    50: '#dac380',
    500: '#c5ab49',
    950: '#000000',
  },
}
SCSS
$custom: #c5ab49;
$custom-light: #dac380;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ab49",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 73
  },
  "hsl": {
    "h": 47.419,
    "s": 51.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74515,
    "c": 0.12067,
    "h": 94.4
  },
  "luminance": 0.41477
}

Semantic roles & 50–950 ramp

primary
#C5AB49
secondary
#9AA5D0
accent
#6BDB4D
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AB49

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

Preview Lab → · Contrast checker → · Palette generator →

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