#C5D352#C5D352

#C5D352 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.2% C 0.152 H 115.0°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#C5D352
RGBrgb(197, 211, 82)
HSLhsl(67, 59%, 57%)
HSVhsv(67, 61%, 83%)
CMYKcmyk(6.6%, 0%, 61.1%, 17.3%)
CIE-LABlab(81.33, -21.78, 60.41)
CIE-LCHlch(81.33, 64.21, 109.83°)
OKLaboklab(83.15% -0.0645 0.1382)
OKLCHoklch(83.15% 0.152 115)
XYZxyz(47.8443, 59.0688, 16.8620)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D352 #6052D3
analogous
#D3A152 #C5D352 #84D352
triadic
#C5D352 #52C5D3 #D352C5
tetradic
#C5D352 #52D3A1 #6052D3 #D35284
square
#C5D352 #52D3A1 #6052D3 #D35284
split-complementary
#C5D352 #5284D3 #A152D3
monochromatic
#7D8823 #AAB92F #C5D352 #D5DF83 #E6ECB4

Accessibility & contrast

On white

1.64
#C5D352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#C5D352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D352
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D352#FFFFFF#000000##000000
##C5D3521.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#D1C8B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c5d352;
/* rgb */ color: rgb(197, 211, 82);
/* oklch */ color: oklch(83.2% 0.152 115.0);
Tailwind
colors: {
  custom: {
    50: '#d9e088',
    500: '#c5d352',
    950: '#000000',
  },
}
SCSS
$custom: #c5d352;
$custom-light: #d9e088;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d352",
  "rgb": {
    "r": 197,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 66.512,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83153,
    "c": 0.15249,
    "h": 115
  },
  "luminance": 0.59068
}

Semantic roles & 50–950 ramp

primary
#C5D352
secondary
#443B8E
accent
#45E356
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D352

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

Preview Lab → · Contrast checker → · Palette generator →

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