#C5D154#C5D154

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

Color values

HEX#C5D154
RGBrgb(197, 209, 84)
HSLhsl(66, 58%, 57%)
HSVhsv(66, 60%, 82%)
CMYKcmyk(5.7%, 0%, 59.8%, 18%)
CIE-LABlab(80.80, -20.66, 58.98)
CIE-LCHlch(80.80, 62.50, 109.31°)
OKLaboklab(82.74% -0.0611 0.1354)
OKLCHoklch(82.74% 0.149 114.3)
XYZxyz(47.4277, 58.1121, 17.1041)
Luminance0.5811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D154 #6054D1
analogous
#D19F54 #C5D154 #86D154
triadic
#C5D154 #54C5D1 #D154C5
tetradic
#C5D154 #54D19F #6054D1 #D15486
square
#C5D154 #54D19F #6054D1 #D15486
split-complementary
#C5D154 #5486D1 #9F54D1
monochromatic
#7D8624 #AAB731 #C5D154 #D5DE84 #E6EBB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D154#FFFFFF#000000##000000
##C5D1541.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)
#DFC746
Deuteranopia (green-blind)
#DECA5C
Tritanopia (blue-blind)
#D1C6B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d154;
/* rgb */ color: rgb(197, 209, 84);
/* oklch */ color: oklch(82.7% 0.149 114.3);
Tailwind
colors: {
  custom: {
    50: '#d9df89',
    500: '#c5d154',
    950: '#000000',
  },
}
SCSS
$custom: #c5d154;
$custom-light: #d9df89;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d154",
  "rgb": {
    "r": 197,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 65.76,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82736,
    "c": 0.14859,
    "h": 114.3
  },
  "luminance": 0.58111
}

Semantic roles & 50–950 ramp

primary
#C5D154
secondary
#443C8D
accent
#47E156
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D154

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

Preview Lab → · Contrast checker → · Palette generator →

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