#C2D152#C2D152

#C2D152 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.5% C 0.151 H 115.5°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#C2D152
RGBrgb(194, 209, 82)
HSLhsl(67, 58%, 57%)
HSVhsv(67, 61%, 82%)
CMYKcmyk(7.2%, 0%, 60.8%, 18%)
CIE-LABlab(80.56, -22.02, 59.51)
CIE-LCHlch(80.56, 63.45, 110.31°)
OKLaboklab(82.48% -0.065 0.1364)
OKLCHoklch(82.48% 0.151 115.5)
XYZxyz(46.5726, 57.6801, 16.6610)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D152 #6152D1
analogous
#D1A152 #C2D152 #82D152
triadic
#C2D152 #52C2D1 #D152C2
tetradic
#C2D152 #52D1A1 #6152D1 #D15282
square
#C2D152 #52D1A1 #6152D1 #D15282
split-complementary
#C2D152 #5282D1 #A152D1
monochromatic
#7A8523 #A6B630 #C2D152 #D3DE82 #E4EBB3

Accessibility & contrast

On white

1.68
#C2D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#C2D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D152
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D152#FFFFFF#000000##000000
##C2D1521.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#DEC95A
Tritanopia (blue-blind)
#CDC6B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d152;
/* rgb */ color: rgb(194, 209, 82);
/* oklch */ color: oklch(82.5% 0.151 115.5);
Tailwind
colors: {
  custom: {
    50: '#d7df88',
    500: '#c2d152',
    950: '#000000',
  },
}
SCSS
$custom: #c2d152;
$custom-light: #d7df88;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d152",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 67.087,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82482,
    "c": 0.15105,
    "h": 115.5
  },
  "luminance": 0.57679
}

Semantic roles & 50–950 ramp

primary
#C2D152
secondary
#453B8C
accent
#47E159
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D152

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

Preview Lab → · Contrast checker → · Palette generator →

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