#C5D640#C5D640

#C5D640 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.7% C 0.169 H 115.8°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#C5D640
RGBrgb(197, 214, 64)
HSLhsl(67, 65%, 55%)
HSVhsv(67, 70%, 84%)
CMYKcmyk(7.9%, 0%, 70.1%, 16.1%)
CIE-LABlab(82.02, -24.33, 68.13)
CIE-LCHlch(82.02, 72.35, 109.65°)
OKLaboklab(83.67% -0.0733 0.1518)
OKLCHoklch(83.67% 0.169 115.8)
XYZxyz(47.9992, 60.3343, 13.9666)
Luminance0.6033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D640 #5140D6
analogous
#D69C40 #C5D640 #7AD640
triadic
#C5D640 #40C5D6 #D640C5
tetradic
#C5D640 #40D69C #5140D6 #D6407A
square
#C5D640 #40D69C #5140D6 #D6407A
split-complementary
#C5D640 #407AD6 #9C40D6
monochromatic
#75801B #A3B226 #C5D640 #D4E172 #E4ECA5

Accessibility & contrast

On white

1.61
#C5D640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#C5D640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D640
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D640#FFFFFF#000000##000000
##C5D6401.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E4CD4C
Tritanopia (blue-blind)
#D1CAB9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c5d640;
/* rgb */ color: rgb(197, 214, 64);
/* oklch */ color: oklch(83.7% 0.169 115.8);
Tailwind
colors: {
  custom: {
    50: '#dae27e',
    500: '#c5d640',
    950: '#000000',
  },
}
SCSS
$custom: #c5d640;
$custom-light: #dae27e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d640",
  "rgb": {
    "r": 197,
    "g": 214,
    "b": 64
  },
  "hsl": {
    "h": 66.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83665,
    "c": 0.16858,
    "h": 115.8
  },
  "luminance": 0.60334
}

Semantic roles & 50–950 ramp

primary
#C5D640
secondary
#3D3387
accent
#40E853
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D640

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

Preview Lab → · Contrast checker → · Palette generator →

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