#C5C324#C5C324

#C5C324 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.4% C 0.164 H 108.8°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#C5C324
RGBrgb(197, 195, 36)
HSLhsl(59, 69%, 46%)
HSVhsv(59, 82%, 77%)
CMYKcmyk(0%, 1%, 81.7%, 22.7%)
CIE-LABlab(76.70, -16.13, 71.87)
CIE-LCHlch(76.70, 73.66, 102.65°)
OKLaboklab(79.36% -0.0528 0.1549)
OKLCHoklch(79.36% 0.164 108.8)
XYZxyz(42.8612, 51.0293, 9.2606)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C324 #2426C5
analogous
#C57324 #C5C324 #76C524
triadic
#C5C324 #24C5C3 #C324C5
tetradic
#C5C324 #24C573 #2426C5 #C52476
square
#C5C324 #24C573 #2426C5 #C52476
split-complementary
#C5C324 #2476C5 #7324C5
monochromatic
#5E5D11 #91901B #C5C324 #DEDC49 #E7E67C

Accessibility & contrast

On white

1.87
#C5C324 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#C5C324 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C324
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C324#FFFFFF#000000##000000
##C5C3241.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D6C034
Tritanopia (blue-blind)
#D4B6A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c324;
/* rgb */ color: rgb(197, 195, 36);
/* oklch */ color: oklch(79.4% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#dbd46f',
    500: '#c5c324',
    950: '#000000',
  },
}
SCSS
$custom: #c5c324;
$custom-light: #dbd46f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c324",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 36
  },
  "hsl": {
    "h": 59.255,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.79359,
    "c": 0.16364,
    "h": 108.8
  },
  "luminance": 0.51028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5C324

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

Preview Lab → · Contrast checker → · Palette generator →

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