#C5D440#C5D440

#C5D440 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.2% C 0.166 H 115.1°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#C5D440
RGBrgb(197, 212, 64)
HSLhsl(66, 63%, 54%)
HSVhsv(66, 70%, 83%)
CMYKcmyk(7.1%, 0%, 69.8%, 16.9%)
CIE-LABlab(81.47, -23.36, 67.59)
CIE-LCHlch(81.47, 71.52, 109.07°)
OKLaboklab(83.23% -0.0706 0.1507)
OKLCHoklch(83.23% 0.166 115.1)
XYZxyz(47.4961, 59.3282, 13.7989)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D440 #4F40D4
analogous
#D49940 #C5D440 #7BD440
triadic
#C5D440 #40C5D4 #D440C5
tetradic
#C5D440 #40D499 #4F40D4 #D4407B
square
#C5D440 #40D499 #4F40D4 #D4407B
split-complementary
#C5D440 #407BD4 #9940D4
monochromatic
#747D1C #A2AF27 #C5D440 #D4DF72 #E3EAA4

Accessibility & contrast

On white

1.63
#C5D440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#C5D440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D440
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D440#FFFFFF#000000##000000
##C5D4401.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C927
Deuteranopia (green-blind)
#E2CC4C
Tritanopia (blue-blind)
#D2C8B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c5d440;
/* rgb */ color: rgb(197, 212, 64);
/* oklch */ color: oklch(83.2% 0.166 115.1);
Tailwind
colors: {
  custom: {
    50: '#dae17e',
    500: '#c5d440',
    950: '#000000',
  },
}
SCSS
$custom: #c5d440;
$custom-light: #dae17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d440",
  "rgb": {
    "r": 197,
    "g": 212,
    "b": 64
  },
  "hsl": {
    "h": 66.081,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.83226,
    "c": 0.1664,
    "h": 115.1
  },
  "luminance": 0.59327
}

Semantic roles & 50–950 ramp

primary
#C5D440
secondary
#3C3385
accent
#42E652
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D440

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

Preview Lab → · Contrast checker → · Palette generator →

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