#C5AE39#C5AE39

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

Color values

HEX#C5AE39
RGBrgb(197, 174, 57)
HSLhsl(50, 55%, 50%)
HSVhsv(50, 71%, 77%)
CMYKcmyk(0%, 11.7%, 71.1%, 22.7%)
CIE-LABlab(71.17, -4.51, 60.02)
CIE-LCHlch(71.17, 60.19, 94.30°)
OKLaboklab(75% -0.0183 0.1335)
OKLCHoklch(75% 0.135 97.8)
XYZxyz(38.9024, 42.4398, 10.0127)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE39 #3950C5
analogous
#C56839 #C5AE39 #96C539
triadic
#C5AE39 #39C5AE #AE39C5
tetradic
#C5AE39 #39C568 #3950C5 #C53996
square
#C5AE39 #39C568 #3950C5 #C53996
split-complementary
#C5AE39 #3996C5 #6839C5
monochromatic
#665A1E #96842B #C5AE39 #D3C268 #E1D597

Accessibility & contrast

On white

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

On black

9.49
#C5AE39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AE39
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AE39#FFFFFF#000000##000000
##C5AE391.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA27
Deuteranopia (green-blind)
#C5B240
Tritanopia (blue-blind)
#D4A197
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c5ae39;
/* rgb */ color: rgb(197, 174, 57);
/* oklch */ color: oklch(75.0% 0.135 97.8);
Tailwind
colors: {
  custom: {
    50: '#dac577',
    500: '#c5ae39',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae39;
$custom-light: #dac577;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae39",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 50.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74999,
    "c": 0.13475,
    "h": 97.8
  },
  "luminance": 0.42438
}

Semantic roles & 50–950 ramp

primary
#C5AE39
secondary
#8D98CD
accent
#62DE49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AE39

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

Preview Lab → · Contrast checker → · Palette generator →

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