#C5AE37#C5AE37

#C5AE37 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 75.0% C 0.136 H 97.9°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#C5AE37
RGBrgb(197, 174, 55)
HSLhsl(50, 56%, 49%)
HSVhsv(50, 72%, 77%)
CMYKcmyk(0%, 11.7%, 72.1%, 22.7%)
CIE-LABlab(71.16, -4.61, 60.78)
CIE-LCHlch(71.16, 60.96, 94.34°)
OKLaboklab(74.98% -0.0188 0.1347)
OKLCHoklch(74.98% 0.136 97.9)
XYZxyz(38.8535, 42.4202, 9.7551)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE37 #374EC5
analogous
#C56737 #C5AE37 #95C537
triadic
#C5AE37 #37C5AE #AE37C5
tetradic
#C5AE37 #37C567 #374EC5 #C53795
square
#C5AE37 #37C567 #374EC5 #C53795
split-complementary
#C5AE37 #3795C5 #6737C5
monochromatic
#65591C #95842A #C5AE37 #D4C265 #E1D595

Accessibility & contrast

On white

2.21
#C5AE37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#C5AE37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AE37
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AE37#FFFFFF#000000##000000
##C5AE371.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA24
Deuteranopia (green-blind)
#C5B23E
Tritanopia (blue-blind)
#D4A196
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c5ae37;
/* rgb */ color: rgb(197, 174, 55);
/* oklch */ color: oklch(75.0% 0.136 97.9);
Tailwind
colors: {
  custom: {
    50: '#dac576',
    500: '#c5ae37',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae37;
$custom-light: #dac576;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae37",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 55
  },
  "hsl": {
    "h": 50.282,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74984,
    "c": 0.13604,
    "h": 97.9
  },
  "luminance": 0.42418
}

Semantic roles & 50–950 ramp

primary
#C5AE37
secondary
#8B96CD
accent
#61E048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AE37

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

Preview Lab → · Contrast checker → · Palette generator →

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