#C5D642#C5D642

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

Color values

HEX#C5D642
RGBrgb(197, 214, 66)
HSLhsl(67, 64%, 55%)
HSVhsv(67, 69%, 84%)
CMYKcmyk(7.9%, 0%, 69.2%, 16.1%)
CIE-LABlab(82.03, -24.22, 67.43)
CIE-LCHlch(82.03, 71.65, 109.76°)
OKLaboklab(83.68% -0.0728 0.1506)
OKLCHoklch(83.68% 0.167 115.8)
XYZxyz(48.0571, 60.3575, 14.2718)
Luminance0.6036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D642 #5342D6
analogous
#D69D42 #C5D642 #7BD642
triadic
#C5D642 #42C5D6 #D642C5
tetradic
#C5D642 #42D69D #5342D6 #D6427B
square
#C5D642 #42D69D #5342D6 #D6427B
split-complementary
#C5D642 #427BD6 #9D42D6
monochromatic
#76821C #A4B427 #C5D642 #D4E174 #E4ECA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D642#FFFFFF#000000##000000
##C5D6421.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)
#E5CB2A
Deuteranopia (green-blind)
#E3CD4D
Tritanopia (blue-blind)
#D1CAB9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c5d642;
/* rgb */ color: rgb(197, 214, 66);
/* oklch */ color: oklch(83.7% 0.167 115.8);
Tailwind
colors: {
  custom: {
    50: '#dae27f',
    500: '#c5d642',
    950: '#000000',
  },
}
SCSS
$custom: #c5d642;
$custom-light: #dae27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d642",
  "rgb": {
    "r": 197,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 66.892,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83679,
    "c": 0.16733,
    "h": 115.8
  },
  "luminance": 0.60357
}

Semantic roles & 50–950 ramp

primary
#C5D642
secondary
#3D3488
accent
#40E754
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D642

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

Preview Lab → · Contrast checker → · Palette generator →

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