#C5AE41#C5AE41

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

Color values

HEX#C5AE41
RGBrgb(197, 174, 65)
HSLhsl(50, 53%, 51%)
HSVhsv(50, 67%, 77%)
CMYKcmyk(0%, 11.7%, 67%, 22.7%)
CIE-LABlab(71.23, -4.08, 56.84)
CIE-LCHlch(71.23, 56.98, 94.11°)
OKLaboklab(75.06% -0.0162 0.1281)
OKLCHoklch(75.06% 0.129 97.2)
XYZxyz(39.1180, 42.5260, 11.1479)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE41 #4158C5
analogous
#C56C41 #C5AE41 #9AC541
triadic
#C5AE41 #41C5AE #AE41C5
tetradic
#C5AE41 #41C56C #4158C5 #C5419A
square
#C5AE41 #41C56C #4158C5 #C5419A
split-complementary
#C5AE41 #419AC5 #6C41C5
monochromatic
#6B5E21 #9A872F #C5AE41 #D3C270 #E2D69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5AE41#FFFFFF#000000##000000
##C5AE411.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)
#BFAA33
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#D4A197
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c5ae41;
/* rgb */ color: rgb(197, 174, 65);
/* oklch */ color: oklch(75.1% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#dac57b',
    500: '#c5ae41',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae41;
$custom-light: #dac57b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae41",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 65
  },
  "hsl": {
    "h": 49.545,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75064,
    "c": 0.12916,
    "h": 97.2
  },
  "luminance": 0.42524
}

Semantic roles & 50–950 ramp

primary
#C5AE41
secondary
#949ECE
accent
#65DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AE41

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

Preview Lab → · Contrast checker → · Palette generator →

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