#C5D151#C5D151

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

Color values

HEX#C5D151
RGBrgb(197, 209, 81)
HSLhsl(66, 58%, 57%)
HSVhsv(66, 61%, 82%)
CMYKcmyk(5.7%, 0%, 61.2%, 18%)
CIE-LABlab(80.78, -20.87, 60.23)
CIE-LCHlch(80.78, 63.74, 109.11°)
OKLaboklab(82.71% -0.062 0.1377)
OKLCHoklch(82.71% 0.151 114.2)
XYZxyz(47.3127, 58.0661, 16.4985)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D151 #5D51D1
analogous
#D19D51 #C5D151 #85D151
triadic
#C5D151 #51C5D1 #D151C5
tetradic
#C5D151 #51D19D #5D51D1 #D15185
square
#C5D151 #51D19D #5D51D1 #D15185
split-complementary
#C5D151 #5185D1 #9D51D1
monochromatic
#7B8523 #A8B530 #C5D151 #D5DE81 #E5EBB2

Accessibility & contrast

On white

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

On black

12.61
#C5D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D151
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D151#FFFFFF#000000##000000
##C5D1511.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d151;
/* rgb */ color: rgb(197, 209, 81);
/* oklch */ color: oklch(82.7% 0.151 114.2);
Tailwind
colors: {
  custom: {
    50: '#d9df87',
    500: '#c5d151',
    950: '#000000',
  },
}
SCSS
$custom: #c5d151;
$custom-light: #d9df87;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d151",
  "rgb": {
    "r": 197,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 65.625,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82707,
    "c": 0.151,
    "h": 114.2
  },
  "luminance": 0.58065
}

Semantic roles & 50–950 ramp

primary
#C5D151
secondary
#423B8B
accent
#46E155
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D151

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

Preview Lab → · Contrast checker → · Palette generator →

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