#C2D562#C2D562

#C2D562 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.5% C 0.142 H 117.4°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#C2D562
RGBrgb(194, 213, 98)
HSLhsl(70, 58%, 61%)
HSVhsv(70, 54%, 84%)
CMYKcmyk(8.9%, 0%, 54%, 16.5%)
CIE-LABlab(81.81, -22.72, 53.85)
CIE-LCHlch(81.81, 58.45, 112.88°)
OKLaboklab(83.53% -0.0653 0.1261)
OKLCHoklch(83.53% 0.142 117.4)
XYZxyz(48.2477, 59.9401, 20.5808)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D562 #7562D5
analogous
#D5AE62 #C2D562 #88D562
triadic
#C2D562 #62C2D5 #D562C2
tetradic
#C2D562 #62D5AE #7562D5 #D56288
square
#C2D562 #62D5AE #7562D5 #D56288
split-complementary
#C2D562 #6288D5 #AE62D5
monochromatic
#839528 #ADC535 #C2D562 #D5E292 #E8EFC3

Accessibility & contrast

On white

1.62
#C2D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#C2D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D562
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D562#FFFFFF#000000##000000
##C2D5621.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E0CC69
Tritanopia (blue-blind)
#CCCBBB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c2d562;
/* rgb */ color: rgb(194, 213, 98);
/* oklch */ color: oklch(83.5% 0.142 117.4);
Tailwind
colors: {
  custom: {
    50: '#d7e192',
    500: '#c2d562',
    950: '#000000',
  },
}
SCSS
$custom: #c2d562;
$custom-light: #d7e192;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d562",
  "rgb": {
    "r": 194,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 69.913,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83528,
    "c": 0.14203,
    "h": 117.4
  },
  "luminance": 0.5994
}

Semantic roles & 50–950 ramp

primary
#C2D562
secondary
#50419A
accent
#20C53B
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2D562

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

Preview Lab → · Contrast checker → · Palette generator →

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