#C5AE4C#C5AE4C

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

Color values

HEX#C5AE4C
RGBrgb(197, 174, 76)
HSLhsl(49, 51%, 54%)
HSVhsv(49, 61%, 77%)
CMYKcmyk(0%, 11.7%, 61.4%, 22.7%)
CIE-LABlab(71.33, -3.39, 52.10)
CIE-LCHlch(71.33, 52.21, 93.72°)
OKLaboklab(75.17% -0.0129 0.1197)
OKLCHoklch(75.17% 0.12 96.1)
XYZxyz(39.4682, 42.6661, 12.9925)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE4C #4C63C5
analogous
#C5714C #C5AE4C #9FC54C
triadic
#C5AE4C #4CC5AE #AE4CC5
tetradic
#C5AE4C #4CC571 #4C63C5 #C54C9F
square
#C5AE4C #4CC571 #4C63C5 #C54C9F
split-complementary
#C5AE4C #4C9FC5 #714CC5
monochromatic
#726325 #A08B34 #C5AE4C #D4C37A #E3D8A8

Accessibility & contrast

On white

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

On black

9.53
#C5AE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AE4C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AE4C#FFFFFF#000000##000000
##C5AE4C1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ae4c;
/* rgb */ color: rgb(197, 174, 76);
/* oklch */ color: oklch(75.2% 0.120 96.1);
Tailwind
colors: {
  custom: {
    50: '#d9c582',
    500: '#c5ae4c',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae4c;
$custom-light: #d9c582;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae4c",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 76
  },
  "hsl": {
    "h": 48.595,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75171,
    "c": 0.12043,
    "h": 96.1
  },
  "luminance": 0.42664
}

Semantic roles & 50–950 ramp

primary
#C5AE4C
secondary
#9CA6D0
accent
#68DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C5AE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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