#C2D159#C2D159

#C2D159 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.6% C 0.145 H 115.6°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#C2D159
RGBrgb(194, 209, 89)
HSLhsl(68, 57%, 58%)
HSVhsv(68, 57%, 82%)
CMYKcmyk(7.2%, 0%, 57.4%, 18%)
CIE-LABlab(80.62, -21.50, 56.55)
CIE-LCHlch(80.62, 60.50, 110.82°)
OKLaboklab(82.55% -0.0628 0.1309)
OKLCHoklch(82.55% 0.145 115.6)
XYZxyz(46.8527, 57.7922, 18.1361)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D159 #6859D1
analogous
#D1A459 #C2D159 #86D159
triadic
#C2D159 #59C2D1 #D159C2
tetradic
#C2D159 #59D1A4 #6859D1 #D15986
square
#C2D159 #59D1A4 #6859D1 #D15986
split-complementary
#C2D159 #5986D1 #A459D1
monochromatic
#7D8926 #A9B933 #C2D159 #D4DE89 #E5ECB9

Accessibility & contrast

On white

1.67
#C2D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#C2D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D159
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D159#FFFFFF#000000##000000
##C2D1591.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74C
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#CDC6B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d159;
/* rgb */ color: rgb(194, 209, 89);
/* oklch */ color: oklch(82.6% 0.145 115.6);
Tailwind
colors: {
  custom: {
    50: '#d7df8c',
    500: '#c2d159',
    950: '#000000',
  },
}
SCSS
$custom: #c2d159;
$custom-light: #d7df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d159",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 67.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82552,
    "c": 0.14521,
    "h": 115.6
  },
  "luminance": 0.57792
}

Semantic roles & 50–950 ramp

primary
#C2D159
secondary
#483E90
accent
#48E05B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D159

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

Preview Lab → · Contrast checker → · Palette generator →

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