#C5AE3D#C5AE3D

#C5AE3D is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.132 H 97.5°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#C5AE3D
RGBrgb(197, 174, 61)
HSLhsl(50, 54%, 51%)
HSVhsv(50, 69%, 77%)
CMYKcmyk(0%, 11.7%, 69%, 22.7%)
CIE-LABlab(71.20, -4.30, 58.46)
CIE-LCHlch(71.20, 58.62, 94.21°)
OKLaboklab(75.03% -0.0173 0.1309)
OKLCHoklch(75.03% 0.132 97.5)
XYZxyz(39.0062, 42.4813, 10.5591)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE3D #3D54C5
analogous
#C56A3D #C5AE3D #98C53D
triadic
#C5AE3D #3DC5AE #AE3DC5
tetradic
#C5AE3D #3DC56A #3D54C5 #C53D98
square
#C5AE3D #3DC56A #3D54C5 #C53D98
split-complementary
#C5AE3D #3D98C5 #6A3DC5
monochromatic
#685C1F #98862D #C5AE3D #D3C26C #E1D59B

Accessibility & contrast

On white

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

On black

9.50
#C5AE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AE3D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AE3D#FFFFFF#000000##000000
##C5AE3D1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ae3d;
/* rgb */ color: rgb(197, 174, 61);
/* oklch */ color: oklch(75.0% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#dac579',
    500: '#c5ae3d',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae3d;
$custom-light: #dac579;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae3d",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 61
  },
  "hsl": {
    "h": 49.853,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7503,
    "c": 0.13203,
    "h": 97.5
  },
  "luminance": 0.42479
}

Semantic roles & 50–950 ramp

primary
#C5AE3D
secondary
#919BCD
accent
#63DD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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