#C5AE34#C5AE34

#C5AE34 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 75.0% C 0.138 H 98.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#C5AE34
RGBrgb(197, 174, 52)
HSLhsl(50, 58%, 49%)
HSVhsv(50, 74%, 77%)
CMYKcmyk(0%, 11.7%, 73.6%, 22.7%)
CIE-LABlab(71.14, -4.75, 61.89)
CIE-LCHlch(71.14, 62.07, 94.39°)
OKLaboklab(74.96% -0.0195 0.1365)
OKLCHoklch(74.96% 0.138 98.1)
XYZxyz(38.7838, 42.3923, 9.3878)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE34 #344BC5
analogous
#C56634 #C5AE34 #94C534
triadic
#C5AE34 #34C5AE #AE34C5
tetradic
#C5AE34 #34C566 #344BC5 #C53494
square
#C5AE34 #34C566 #344BC5 #C53494
split-complementary
#C5AE34 #3494C5 #6634C5
monochromatic
#64581A #958327 #C5AE34 #D5C361 #E2D591

Accessibility & contrast

On white

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

On black

9.48
#C5AE34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AE34
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AE34#FFFFFF#000000##000000
##C5AE341.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA1F
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#D5A196
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c5ae34;
/* rgb */ color: rgb(197, 174, 52);
/* oklch */ color: oklch(75.0% 0.138 98.1);
Tailwind
colors: {
  custom: {
    50: '#dac574',
    500: '#c5ae34',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae34;
$custom-light: #dac574;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae34",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 50.483,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74963,
    "c": 0.1379,
    "h": 98.1
  },
  "luminance": 0.4239
}

Semantic roles & 50–950 ramp

primary
#C5AE34
secondary
#8893CD
accent
#5FE146
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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