#C5D552#C5D552

#C5D552 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.6% C 0.155 H 115.7°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#C5D552
RGBrgb(197, 213, 82)
HSLhsl(67, 61%, 58%)
HSVhsv(67, 62%, 84%)
CMYKcmyk(7.5%, 0%, 61.5%, 16.5%)
CIE-LABlab(81.88, -22.76, 61.00)
CIE-LCHlch(81.88, 65.10, 110.46°)
OKLaboklab(83.59% -0.0672 0.1394)
OKLCHoklch(83.59% 0.155 115.7)
XYZxyz(48.3442, 60.0687, 17.0287)
Luminance0.6007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D552 #6252D5
analogous
#D5A352 #C5D552 #84D552
triadic
#C5D552 #52C5D5 #D552C5
tetradic
#C5D552 #52D5A3 #6252D5 #D55284
square
#C5D552 #52D5A3 #6252D5 #D55284
split-complementary
#C5D552 #5284D5 #A352D5
monochromatic
#7E8B22 #ABBC2E #C5D552 #D6E183 #E6EDB4

Accessibility & contrast

On white

1.61
#C5D552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#C5D552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D552
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D552#FFFFFF#000000##000000
##C5D5521.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#D1CABA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c5d552;
/* rgb */ color: rgb(197, 213, 82);
/* oklch */ color: oklch(83.6% 0.155 115.7);
Tailwind
colors: {
  custom: {
    50: '#d9e188',
    500: '#c5d552',
    950: '#000000',
  },
}
SCSS
$custom: #c5d552;
$custom-light: #d9e188;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d552",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 67.328,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83591,
    "c": 0.15479,
    "h": 115.7
  },
  "luminance": 0.60068
}

Semantic roles & 50–950 ramp

primary
#C5D552
secondary
#453A91
accent
#44E457
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D552

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

Preview Lab → · Contrast checker → · Palette generator →

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