#C5D150#C5D150

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

Color values

HEX#C5D150
RGBrgb(197, 209, 80)
HSLhsl(66, 58%, 57%)
HSVhsv(66, 62%, 82%)
CMYKcmyk(5.7%, 0%, 61.7%, 18%)
CIE-LABlab(80.77, -20.94, 60.64)
CIE-LCHlch(80.77, 64.15, 109.05°)
OKLaboklab(82.7% -0.0623 0.1384)
OKLCHoklch(82.7% 0.152 114.2)
XYZxyz(47.2755, 58.0513, 16.3025)
Luminance0.5805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D150 #5C50D1
analogous
#D19C50 #C5D150 #85D150
triadic
#C5D150 #50C5D1 #D150C5
tetradic
#C5D150 #50D19C #5C50D1 #D15085
square
#C5D150 #50D19C #5C50D1 #D15085
split-complementary
#C5D150 #5085D1 #9C50D1
monochromatic
#7B8423 #A8B42F #C5D150 #D5DE80 #E5EAB1

Accessibility & contrast

On white

1.67
#C5D150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D150#FFFFFF#000000##000000
##C5D1501.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5d150;
/* rgb */ color: rgb(197, 209, 80);
/* oklch */ color: oklch(82.7% 0.152 114.2);
Tailwind
colors: {
  custom: {
    50: '#d9df87',
    500: '#c5d150',
    950: '#000000',
  },
}
SCSS
$custom: #c5d150;
$custom-light: #d9df87;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d150",
  "rgb": {
    "r": 197,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 65.581,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82698,
    "c": 0.15179,
    "h": 114.2
  },
  "luminance": 0.5805
}

Semantic roles & 50–950 ramp

primary
#C5D150
secondary
#423A8B
accent
#46E255
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5D150

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

Preview Lab → · Contrast checker → · Palette generator →

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