#C5AE4A#C5AE4A

#C5AE4A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.122 H 96.4°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#C5AE4A
RGBrgb(197, 174, 74)
HSLhsl(49, 51%, 53%)
HSVhsv(49, 62%, 77%)
CMYKcmyk(0%, 11.7%, 62.4%, 22.7%)
CIE-LABlab(71.31, -3.52, 52.99)
CIE-LCHlch(71.31, 53.11, 93.80°)
OKLaboklab(75.15% -0.0135 0.1214)
OKLCHoklch(75.15% 0.122 96.4)
XYZxyz(39.3997, 42.6387, 12.6320)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE4A #4A61C5
analogous
#C5704A #C5AE4A #9FC54A
triadic
#C5AE4A #4AC5AE #AE4AC5
tetradic
#C5AE4A #4AC570 #4A61C5 #C54A9F
square
#C5AE4A #4AC570 #4A61C5 #C54A9F
split-complementary
#C5AE4A #4A9FC5 #704AC5
monochromatic
#716224 #9F8B33 #C5AE4A #D4C378 #E3D7A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5AE4A#FFFFFF#000000##000000
##C5AE4A1.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)
#BEAA3F
Deuteranopia (green-blind)
#C4B24F
Tritanopia (blue-blind)
#D4A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c5ae4a;
/* rgb */ color: rgb(197, 174, 74);
/* oklch */ color: oklch(75.1% 0.122 96.4);
Tailwind
colors: {
  custom: {
    50: '#dac581',
    500: '#c5ae4a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae4a;
$custom-light: #dac581;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae4a",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 74
  },
  "hsl": {
    "h": 48.78,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7515,
    "c": 0.12211,
    "h": 96.4
  },
  "luminance": 0.42637
}

Semantic roles & 50–950 ramp

primary
#C5AE4A
secondary
#9BA5D0
accent
#67DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #C5AE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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