#C5DA51#C5DA51

#C5DA51 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.7% C 0.161 H 117.4°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#C5DA51
RGBrgb(197, 218, 81)
HSLhsl(69, 65%, 59%)
HSVhsv(69, 63%, 85%)
CMYKcmyk(9.6%, 0%, 62.8%, 14.5%)
CIE-LABlab(83.24, -25.24, 62.86)
CIE-LCHlch(83.24, 67.74, 111.87°)
OKLaboklab(84.68% -0.0742 0.1432)
OKLCHoklch(84.68% 0.161 117.4)
XYZxyz(49.5835, 62.6077, 17.2554)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5DA51 #6651DA
analogous
#DAAA51 #C5DA51 #80DA51
triadic
#C5DA51 #51C5DA #DA51C5
tetradic
#C5DA51 #51DAAA #6651DA #DA5180
square
#C5DA51 #51DAAA #6651DA #DA5180
split-complementary
#C5DA51 #5180DA #AA51DA
monochromatic
#80921F #ACC42A #C5DA51 #D6E583 #E7EFB6

Accessibility & contrast

On white

1.55
#C5DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#C5DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5DA51
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5DA51#FFFFFF#000000##000000
##C5DA511.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF40
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#D0CFBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c5da51;
/* rgb */ color: rgb(197, 218, 81);
/* oklch */ color: oklch(84.7% 0.161 117.4);
Tailwind
colors: {
  custom: {
    50: '#d9e588',
    500: '#c5da51',
    950: '#000000',
  },
}
SCSS
$custom: #c5da51;
$custom-light: #d9e588;
$custom-dark: #000000;
JSON
{
  "hex": "#c5da51",
  "rgb": {
    "r": 197,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 69.197,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8468,
    "c": 0.16134,
    "h": 117.4
  },
  "luminance": 0.62607
}

Semantic roles & 50–950 ramp

primary
#C5DA51
secondary
#473997
accent
#40E85A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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