#C5D240#C5D240

#C5D240 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.8% C 0.164 H 114.4°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#C5D240
RGBrgb(197, 210, 64)
HSLhsl(65, 62%, 54%)
HSVhsv(65, 70%, 82%)
CMYKcmyk(6.2%, 0%, 69.5%, 17.6%)
CIE-LABlab(80.92, -22.39, 67.05)
CIE-LCHlch(80.92, 70.69, 108.47°)
OKLaboklab(82.79% -0.0679 0.1495)
OKLCHoklch(82.79% 0.164 114.4)
XYZxyz(46.9993, 58.3345, 13.6333)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D240 #4D40D2
analogous
#D29640 #C5D240 #7CD240
triadic
#C5D240 #40C5D2 #D240C5
tetradic
#C5D240 #40D296 #4D40D2 #D2407C
square
#C5D240 #40D296 #4D40D2 #D2407C
split-complementary
#C5D240 #407CD2 #9640D2
monochromatic
#727B1D #A1AC29 #C5D240 #D4DE72 #E3E9A3

Accessibility & contrast

On white

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

On black

12.67
#C5D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D240
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D240#FFFFFF#000000##000000
##C5D2401.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C828
Deuteranopia (green-blind)
#E0CA4B
Tritanopia (blue-blind)
#D2C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d240;
/* rgb */ color: rgb(197, 210, 64);
/* oklch */ color: oklch(82.8% 0.164 114.4);
Tailwind
colors: {
  custom: {
    50: '#dadf7e',
    500: '#c5d240',
    950: '#000000',
  },
}
SCSS
$custom: #c5d240;
$custom-light: #dadf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d240",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 65.342,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82787,
    "c": 0.16424,
    "h": 114.4
  },
  "luminance": 0.58334
}

Semantic roles & 50–950 ramp

primary
#C5D240
secondary
#3B3483
accent
#43E551
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C5D240

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

Preview Lab → · Contrast checker → · Palette generator →

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