#C5D04B#C5D04B

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

Color values

HEX#C5D04B
RGBrgb(197, 208, 75)
HSLhsl(65, 59%, 55%)
HSVhsv(65, 64%, 82%)
CMYKcmyk(5.3%, 0%, 63.9%, 18.4%)
CIE-LABlab(80.45, -20.78, 62.36)
CIE-LCHlch(80.45, 65.73, 108.43°)
OKLaboklab(82.44% -0.0624 0.1414)
OKLCHoklch(82.44% 0.154 113.8)
XYZxyz(46.8530, 57.4909, 15.2840)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D04B #564BD0
analogous
#D0984B #C5D04B #83D04B
triadic
#C5D04B #4BC5D0 #D04BC5
tetradic
#C5D04B #4BD098 #564BD0 #D04B83
square
#C5D04B #4BD098 #564BD0 #D04B83
split-complementary
#C5D04B #4B83D0 #984BD0
monochromatic
#787F21 #A5B02E #C5D04B #D5DD7C #E4E9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D04B#FFFFFF#000000##000000
##C5D04B1.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)
#DFC639
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#D1C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c5d04b;
/* rgb */ color: rgb(197, 208, 75);
/* oklch */ color: oklch(82.4% 0.154 113.8);
Tailwind
colors: {
  custom: {
    50: '#dade84',
    500: '#c5d04b',
    950: '#000000',
  },
}
SCSS
$custom: #c5d04b;
$custom-light: #dade84;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d04b",
  "rgb": {
    "r": 197,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 64.962,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82435,
    "c": 0.15449,
    "h": 113.8
  },
  "luminance": 0.5749
}

Semantic roles & 50–950 ramp

primary
#C5D04B
secondary
#3F3887
accent
#46E253
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D04B

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

Preview Lab → · Contrast checker → · Palette generator →

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