#C2D557#C2D557

#C2D557 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.4% C 0.152 H 117.0°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#C2D557
RGBrgb(194, 213, 87)
HSLhsl(69, 60%, 59%)
HSVhsv(69, 59%, 84%)
CMYKcmyk(8.9%, 0%, 59.2%, 16.5%)
CIE-LABlab(81.70, -23.60, 58.62)
CIE-LCHlch(81.70, 63.19, 111.93°)
OKLaboklab(83.41% -0.0689 0.1351)
OKLCHoklch(83.41% 0.152 117)
XYZxyz(47.7635, 59.7465, 18.0310)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D557 #6A57D5
analogous
#D5A957 #C2D557 #83D557
triadic
#C2D557 #57C2D5 #D557C2
tetradic
#C2D557 #57D5A9 #6A57D5 #D55783
square
#C2D557 #57D5A9 #6A57D5 #D55783
split-complementary
#C2D557 #5783D5 #A957D5
monochromatic
#7E8E24 #A9BF30 #C2D557 #D4E188 #E6EDB9

Accessibility & contrast

On white

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

On black

12.95
#C2D557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D557
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D557#FFFFFF#000000##000000
##C2D5571.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB49
Deuteranopia (green-blind)
#E0CC5F
Tritanopia (blue-blind)
#CDCABA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c2d557;
/* rgb */ color: rgb(194, 213, 87);
/* oklch */ color: oklch(83.4% 0.152 117.0);
Tailwind
colors: {
  custom: {
    50: '#d7e18b',
    500: '#c2d557',
    950: '#000000',
  },
}
SCSS
$custom: #c2d557;
$custom-light: #d7e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d557",
  "rgb": {
    "r": 194,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 69.048,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8341,
    "c": 0.15166,
    "h": 117
  },
  "luminance": 0.59746
}

Semantic roles & 50–950 ramp

primary
#C2D557
secondary
#4A3C94
accent
#45E35D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D557

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

Preview Lab → · Contrast checker → · Palette generator →

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