#C2D158#C2D158

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

Color values

HEX#C2D158
RGBrgb(194, 209, 88)
HSLhsl(67, 57%, 58%)
HSVhsv(67, 58%, 82%)
CMYKcmyk(7.2%, 0%, 57.9%, 18%)
CIE-LABlab(80.61, -21.58, 56.98)
CIE-LCHlch(80.61, 60.93, 110.74°)
OKLaboklab(82.54% -0.0631 0.1317)
OKLCHoklch(82.54% 0.146 115.6)
XYZxyz(46.8110, 57.7755, 17.9164)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D158 #6758D1
analogous
#D1A358 #C2D158 #85D158
triadic
#C2D158 #58C2D1 #D158C2
tetradic
#C2D158 #58D1A3 #6758D1 #D15885
square
#C2D158 #58D1A3 #6758D1 #D15885
split-complementary
#C2D158 #5885D1 #A358D1
monochromatic
#7D8926 #A8B933 #C2D158 #D4DE88 #E5EBB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D158#FFFFFF#000000##000000
##C2D1581.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)
#DEC74B
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#CDC6B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d158;
/* rgb */ color: rgb(194, 209, 88);
/* oklch */ color: oklch(82.5% 0.146 115.6);
Tailwind
colors: {
  custom: {
    50: '#d7df8b',
    500: '#c2d158',
    950: '#000000',
  },
}
SCSS
$custom: #c2d158;
$custom-light: #d7df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d158",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 67.438,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82542,
    "c": 0.14606,
    "h": 115.6
  },
  "luminance": 0.57775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2D158

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

Preview Lab → · Contrast checker → · Palette generator →

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