#C5D740#C5D740

#C5D740 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 83.9% C 0.170 H 116.1°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#C5D740
RGBrgb(197, 215, 64)
HSLhsl(67, 65%, 55%)
HSVhsv(67, 70%, 84%)
CMYKcmyk(8.4%, 0%, 70.2%, 15.7%)
CIE-LABlab(82.29, -24.81, 68.40)
CIE-LCHlch(82.29, 72.76, 109.94°)
OKLaboklab(83.89% -0.0747 0.1524)
OKLCHoklch(83.89% 0.17 116.1)
XYZxyz(48.2530, 60.8421, 14.0512)
Luminance0.6084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D740 #5240D7
analogous
#D79D40 #C5D740 #7AD740
triadic
#C5D740 #40C5D7 #D740C5
tetradic
#C5D740 #40D79D #5240D7 #D7407A
square
#C5D740 #40D79D #5240D7 #D7407A
split-complementary
#C5D740 #407AD7 #9D40D7
monochromatic
#75811B #A3B426 #C5D740 #D4E273 #E4ECA5

Accessibility & contrast

On white

1.59
#C5D740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#C5D740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D740
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D740#FFFFFF#000000##000000
##C5D7401.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC26
Deuteranopia (green-blind)
#E4CE4C
Tritanopia (blue-blind)
#D1CBB9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c5d740;
/* rgb */ color: rgb(197, 215, 64);
/* oklch */ color: oklch(83.9% 0.170 116.1);
Tailwind
colors: {
  custom: {
    50: '#dae37e',
    500: '#c5d740',
    950: '#000000',
  },
}
SCSS
$custom: #c5d740;
$custom-light: #dae37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d740",
  "rgb": {
    "r": 197,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 67.152,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83885,
    "c": 0.16968,
    "h": 116.1
  },
  "luminance": 0.60841
}

Semantic roles & 50–950 ramp

primary
#C5D740
secondary
#3D3388
accent
#3FE854
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D740

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

Preview Lab → · Contrast checker → · Palette generator →

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