#C5D152#C5D152

#C5D152 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.7% C 0.150 H 114.3°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#C5D152
RGBrgb(197, 209, 82)
HSLhsl(66, 58%, 57%)
HSVhsv(66, 61%, 82%)
CMYKcmyk(5.7%, 0%, 60.8%, 18%)
CIE-LABlab(80.78, -20.80, 59.82)
CIE-LCHlch(80.78, 63.33, 109.18°)
OKLaboklab(82.72% -0.0617 0.1369)
OKLCHoklch(82.72% 0.15 114.3)
XYZxyz(47.3505, 58.0813, 16.6974)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D152 #5E52D1
analogous
#D19D52 #C5D152 #86D152
triadic
#C5D152 #52C5D1 #D152C5
tetradic
#C5D152 #52D19D #5E52D1 #D15286
square
#C5D152 #52D19D #5E52D1 #D15286
split-complementary
#C5D152 #5286D1 #9D52D1
monochromatic
#7C8523 #A9B630 #C5D152 #D5DE82 #E5EBB3

Accessibility & contrast

On white

1.66
#C5D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#C5D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D152
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D152#FFFFFF#000000##000000
##C5D1521.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#D1C6B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c5d152;
/* rgb */ color: rgb(197, 209, 82);
/* oklch */ color: oklch(82.7% 0.150 114.3);
Tailwind
colors: {
  custom: {
    50: '#d9df88',
    500: '#c5d152',
    950: '#000000',
  },
}
SCSS
$custom: #c5d152;
$custom-light: #d9df88;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d152",
  "rgb": {
    "r": 197,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 65.669,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82717,
    "c": 0.15021,
    "h": 114.3
  },
  "luminance": 0.5808
}

Semantic roles & 50–950 ramp

primary
#C5D152
secondary
#433B8C
accent
#47E155
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D152

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

Preview Lab → · Contrast checker → · Palette generator →

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