#C5D04D#C5D04D

#C5D04D is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.5% C 0.153 H 113.8°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#C5D04D
RGBrgb(197, 208, 77)
HSLhsl(65, 58%, 56%)
HSVhsv(65, 63%, 82%)
CMYKcmyk(5.3%, 0%, 63%, 18.4%)
CIE-LABlab(80.47, -20.65, 61.56)
CIE-LCHlch(80.47, 64.93, 108.54°)
OKLaboklab(82.45% -0.0618 0.14)
OKLCHoklch(82.45% 0.153 113.8)
XYZxyz(46.9226, 57.5188, 15.6502)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D04D #584DD0
analogous
#D0994D #C5D04D #83D04D
triadic
#C5D04D #4DC5D0 #D04DC5
tetradic
#C5D04D #4DD099 #584DD0 #D04D83
square
#C5D04D #4DD099 #584DD0 #D04D83
split-complementary
#C5D04D #4D83D0 #994DD0
monochromatic
#798122 #A6B12F #C5D04D #D5DD7D #E5EAAE

Accessibility & contrast

On white

1.68
#C5D04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#C5D04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D04D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D04D#FFFFFF#000000##000000
##C5D04D1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63C
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#D1C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c5d04d;
/* rgb */ color: rgb(197, 208, 77);
/* oklch */ color: oklch(82.5% 0.153 113.8);
Tailwind
colors: {
  custom: {
    50: '#d9de85',
    500: '#c5d04d',
    950: '#000000',
  },
}
SCSS
$custom: #c5d04d;
$custom-light: #d9de85;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d04d",
  "rgb": {
    "r": 197,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 65.038,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82453,
    "c": 0.15299,
    "h": 113.8
  },
  "luminance": 0.57518
}

Semantic roles & 50–950 ramp

primary
#C5D04D
secondary
#403988
accent
#46E153
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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