#C5AE2A#C5AE2A

#C5AE2A is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.143 H 98.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C5AE2A
RGBrgb(197, 174, 42)
HSLhsl(51, 65%, 47%)
HSVhsv(51, 79%, 77%)
CMYKcmyk(0%, 11.7%, 78.7%, 22.7%)
CIE-LABlab(71.09, -5.15, 65.26)
CIE-LCHlch(71.09, 65.46, 94.52°)
OKLaboklab(74.9% -0.0216 0.1417)
OKLCHoklch(74.9% 0.143 98.7)
XYZxyz(38.5819, 42.3116, 8.3248)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE2A #2A41C5
analogous
#C5612A #C5AE2A #8FC52A
triadic
#C5AE2A #2AC5AE #AE2AC5
tetradic
#C5AE2A #2AC561 #2A41C5 #C52A8F
square
#C5AE2A #2AC561 #2A41C5 #C52A8F
split-complementary
#C5AE2A #2A8FC5 #612AC5
monochromatic
#605514 #93811F #C5AE2A #DAC652 #E5D785

Accessibility & contrast

On white

2.22
#C5AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#C5AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AE2A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AE2A#FFFFFF#000000##000000
##C5AE2A1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A906
Deuteranopia (green-blind)
#C6B134
Tritanopia (blue-blind)
#D5A095
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c5ae2a;
/* rgb */ color: rgb(197, 174, 42);
/* oklch */ color: oklch(74.9% 0.143 98.7);
Tailwind
colors: {
  custom: {
    50: '#dbc56f',
    500: '#c5ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae2a;
$custom-light: #dbc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae2a",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 51.097,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74901,
    "c": 0.14339,
    "h": 98.7
  },
  "luminance": 0.4231
}

Semantic roles & 50–950 ramp

primary
#C5AE2A
secondary
#7D89CE
accent
#59E840
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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