#C5D242#C5D242

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

Color values

HEX#C5D242
RGBrgb(197, 210, 66)
HSLhsl(65, 62%, 54%)
HSVhsv(65, 69%, 82%)
CMYKcmyk(6.2%, 0%, 68.6%, 17.6%)
CIE-LABlab(80.94, -22.29, 66.34)
CIE-LCHlch(80.94, 69.98, 108.57°)
OKLaboklab(82.8% -0.0674 0.1483)
OKLCHoklch(82.8% 0.163 114.5)
XYZxyz(47.0572, 58.3577, 13.9385)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D242 #4F42D2
analogous
#D29742 #C5D242 #7DD242
triadic
#C5D242 #42C5D2 #D242C5
tetradic
#C5D242 #42D297 #4F42D2 #D2427D
square
#C5D242 #42D297 #4F42D2 #D2427D
split-complementary
#C5D242 #427DD2 #9742D2
monochromatic
#747C1E #A2AD29 #C5D242 #D4DE73 #E3EAA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5D242#FFFFFF#000000##000000
##C5D2421.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)
#E1C82B
Deuteranopia (green-blind)
#E0CA4D
Tritanopia (blue-blind)
#D2C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c5d242;
/* rgb */ color: rgb(197, 210, 66);
/* oklch */ color: oklch(82.8% 0.163 114.5);
Tailwind
colors: {
  custom: {
    50: '#dadf7f',
    500: '#c5d242',
    950: '#000000',
  },
}
SCSS
$custom: #c5d242;
$custom-light: #dadf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d242",
  "rgb": {
    "r": 197,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 65.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82801,
    "c": 0.16295,
    "h": 114.5
  },
  "luminance": 0.58357
}

Semantic roles & 50–950 ramp

primary
#C5D242
secondary
#3C3484
accent
#43E552
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5D242

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

Preview Lab → · Contrast checker → · Palette generator →

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