#C5AE4D#C5AE4D

#C5AE4D is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.2% C 0.120 H 96.0°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C5AE4D
RGBrgb(197, 174, 77)
HSLhsl(49, 51%, 54%)
HSVhsv(49, 61%, 77%)
CMYKcmyk(0%, 11.7%, 60.9%, 22.7%)
CIE-LABlab(71.34, -3.32, 51.65)
CIE-LCHlch(71.34, 51.76, 93.67°)
OKLaboklab(75.18% -0.0126 0.1189)
OKLCHoklch(75.18% 0.12 96)
XYZxyz(39.5032, 42.6801, 13.1770)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE4D #4D64C5
analogous
#C5724D #C5AE4D #A0C54D
triadic
#C5AE4D #4DC5AE #AE4DC5
tetradic
#C5AE4D #4DC572 #4D64C5 #C54DA0
square
#C5AE4D #4DC572 #4D64C5 #C54DA0
split-complementary
#C5AE4D #4DA0C5 #724DC5
monochromatic
#726425 #A08C34 #C5AE4D #D4C37B #E3D8A9

Accessibility & contrast

On white

2.20
#C5AE4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#C5AE4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AE4D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AE4D#FFFFFF#000000##000000
##C5AE4D1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA43
Deuteranopia (green-blind)
#C4B252
Tritanopia (blue-blind)
#D4A299
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c5ae4d;
/* rgb */ color: rgb(197, 174, 77);
/* oklch */ color: oklch(75.2% 0.120 96.0);
Tailwind
colors: {
  custom: {
    50: '#d9c582',
    500: '#c5ae4d',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae4d;
$custom-light: #d9c582;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae4d",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 77
  },
  "hsl": {
    "h": 48.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75181,
    "c": 0.11958,
    "h": 96
  },
  "luminance": 0.42678
}

Semantic roles & 50–950 ramp

primary
#C5AE4D
secondary
#9DA7D1
accent
#68DA4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C5AE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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