#C5C325#C5C325

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

Color values

HEX#C5C325
RGBrgb(197, 195, 37)
HSLhsl(59, 68%, 46%)
HSVhsv(59, 81%, 77%)
CMYKcmyk(0%, 1%, 81.2%, 22.7%)
CIE-LABlab(76.70, -16.10, 71.62)
CIE-LCHlch(76.70, 73.40, 102.67°)
OKLaboklab(79.36% -0.0527 0.1545)
OKLCHoklch(79.36% 0.163 108.8)
XYZxyz(42.8767, 51.0355, 9.3422)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C325 #2527C5
analogous
#C57325 #C5C325 #77C525
triadic
#C5C325 #25C5C3 #C325C5
tetradic
#C5C325 #25C573 #2527C5 #C52577
square
#C5C325 #25C573 #2527C5 #C52577
split-complementary
#C5C325 #2577C5 #7325C5
monochromatic
#5E5D12 #91901B #C5C325 #DDDB4A #E7E57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C325#FFFFFF#000000##000000
##C5C3251.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: #c5c325;
/* rgb */ color: rgb(197, 195, 37);
/* oklch */ color: oklch(79.4% 0.163 108.8);
Tailwind
colors: {
  custom: {
    50: '#dbd470',
    500: '#c5c325',
    950: '#000000',
  },
}
SCSS
$custom: #c5c325;
$custom-light: #dbd470;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c325",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 37
  },
  "hsl": {
    "h": 59.25,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.79363,
    "c": 0.16324,
    "h": 108.8
  },
  "luminance": 0.51034
}

Semantic roles & 50–950 ramp

primary
#C5C325
secondary
#252669
accent
#3FEB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C325

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

Preview Lab → · Contrast checker → · Palette generator →

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