#C5C424#C5C424

#C5C424 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.6% C 0.165 H 109.2°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#C5C424
RGBrgb(197, 196, 36)
HSLhsl(60, 69%, 46%)
HSVhsv(60, 82%, 77%)
CMYKcmyk(0%, 0.5%, 81.7%, 22.7%)
CIE-LABlab(76.97, -16.63, 72.10)
CIE-LCHlch(76.97, 73.99, 102.99°)
OKLaboklab(79.58% -0.0542 0.1554)
OKLCHoklch(79.58% 0.165 109.2)
XYZxyz(43.0860, 51.4789, 9.3355)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C424 #2425C5
analogous
#C57324 #C5C424 #76C524
triadic
#C5C424 #24C5C4 #C424C5
tetradic
#C5C424 #24C573 #2425C5 #C52476
square
#C5C424 #24C573 #2425C5 #C52476
split-complementary
#C5C424 #2476C5 #7324C5
monochromatic
#5E5D11 #91911B #C5C424 #DEDD49 #E7E67C

Accessibility & contrast

On white

1.86
#C5C424 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#C5C424 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C424
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C424#FFFFFF#000000##000000
##C5C4241.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BB00
Deuteranopia (green-blind)
#D7C034
Tritanopia (blue-blind)
#D4B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c424;
/* rgb */ color: rgb(197, 196, 36);
/* oklch */ color: oklch(79.6% 0.165 109.2);
Tailwind
colors: {
  custom: {
    50: '#dbd56f',
    500: '#c5c424',
    950: '#000000',
  },
}
SCSS
$custom: #c5c424;
$custom-light: #dbd56f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c424",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 36
  },
  "hsl": {
    "h": 59.627,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.79576,
    "c": 0.16457,
    "h": 109.2
  },
  "luminance": 0.51478
}

Semantic roles & 50–950 ramp

primary
#C5C424
secondary
#242569
accent
#3DEC3C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C424

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

Preview Lab → · Contrast checker → · Palette generator →

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