#C5C525#C5C525

#C5C525 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.8% C 0.165 H 109.6°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#C5C525
RGBrgb(197, 197, 37)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 77%)
CMYKcmyk(0%, 0%, 81.2%, 22.7%)
CIE-LABlab(77.24, -17.10, 72.08)
CIE-LCHlch(77.24, 74.08, 103.35°)
OKLaboklab(79.8% -0.0554 0.1555)
OKLCHoklch(79.8% 0.165 109.6)
XYZxyz(43.3278, 51.9377, 9.4925)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C525 #2525C5
analogous
#C57525 #C5C525 #75C525
triadic
#C5C525 #25C5C5 #C525C5
tetradic
#C5C525 #25C575 #2525C5 #C52575
square
#C5C525 #25C575 #2525C5 #C52575
split-complementary
#C5C525 #2575C5 #7525C5
monochromatic
#5E5E12 #91911B #C5C525 #DDDD4A #E7E77E

Accessibility & contrast

On white

1.84
#C5C525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#C5C525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C525
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C525#FFFFFF#000000##000000
##C5C5251.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BC00
Deuteranopia (green-blind)
#D7C135
Tritanopia (blue-blind)
#D3B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5c525;
/* rgb */ color: rgb(197, 197, 37);
/* oklch */ color: oklch(79.8% 0.165 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbd670',
    500: '#c5c525',
    950: '#000000',
  },
}
SCSS
$custom: #c5c525;
$custom-light: #dbd670;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c525",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.79797,
    "c": 0.16511,
    "h": 109.6
  },
  "luminance": 0.51936
}

Semantic roles & 50–950 ramp

primary
#C5C525
secondary
#252569
accent
#3DEB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C525

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

Preview Lab → · Contrast checker → · Palette generator →

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