#C5AE3A#C5AE3A

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

Color values

HEX#C5AE3A
RGBrgb(197, 174, 58)
HSLhsl(50, 55%, 50%)
HSVhsv(50, 71%, 77%)
CMYKcmyk(0%, 11.7%, 70.6%, 22.7%)
CIE-LABlab(71.18, -4.46, 59.64)
CIE-LCHlch(71.18, 59.81, 94.28°)
OKLaboklab(75.01% -0.018 0.1329)
OKLCHoklch(75.01% 0.134 97.7)
XYZxyz(38.9276, 42.4499, 10.1454)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE3A #3A51C5
analogous
#C5693A #C5AE3A #96C53A
triadic
#C5AE3A #3AC5AE #AE3AC5
tetradic
#C5AE3A #3AC569 #3A51C5 #C53A96
square
#C5AE3A #3AC569 #3A51C5 #C53A96
split-complementary
#C5AE3A #3A96C5 #693AC5
monochromatic
#665A1E #96842C #C5AE3A #D3C169 #E1D599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5AE3A#FFFFFF#000000##000000
##C5AE3A1.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)
#BFAA29
Deuteranopia (green-blind)
#C5B241
Tritanopia (blue-blind)
#D4A197
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c5ae3a;
/* rgb */ color: rgb(197, 174, 58);
/* oklch */ color: oklch(75.0% 0.134 97.7);
Tailwind
colors: {
  custom: {
    50: '#dac577',
    500: '#c5ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae3a;
$custom-light: #dac577;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae3a",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 50.072,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.75006,
    "c": 0.13408,
    "h": 97.7
  },
  "luminance": 0.42448
}

Semantic roles & 50–950 ramp

primary
#C5AE3A
secondary
#8E99CD
accent
#62DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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