#C2D252#C2D252

#C2D252 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.7% C 0.152 H 115.8°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#C2D252
RGBrgb(194, 210, 82)
HSLhsl(68, 59%, 57%)
HSVhsv(68, 61%, 82%)
CMYKcmyk(7.6%, 0%, 61%, 17.6%)
CIE-LABlab(80.83, -22.51, 59.81)
CIE-LCHlch(80.83, 63.90, 110.63°)
OKLaboklab(82.7% -0.0663 0.137)
OKLCHoklch(82.7% 0.152 115.8)
XYZxyz(46.8187, 58.1724, 16.7430)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D252 #6252D2
analogous
#D2A252 #C2D252 #82D252
triadic
#C2D252 #52C2D2 #D252C2
tetradic
#C2D252 #52D2A2 #6252D2 #D25282
square
#C2D252 #52D2A2 #6252D2 #D25282
split-complementary
#C2D252 #5282D2 #A252D2
monochromatic
#7A8723 #A6B730 #C2D252 #D3DF83 #E4EBB3

Accessibility & contrast

On white

1.66
#C2D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#C2D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D252
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D252#FFFFFF#000000##000000
##C2D2521.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#DECA5A
Tritanopia (blue-blind)
#CDC7B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d252;
/* rgb */ color: rgb(194, 210, 82);
/* oklch */ color: oklch(82.7% 0.152 115.8);
Tailwind
colors: {
  custom: {
    50: '#d7df88',
    500: '#c2d252',
    950: '#000000',
  },
}
SCSS
$custom: #c2d252;
$custom-light: #d7df88;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d252",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 67.5,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82702,
    "c": 0.1522,
    "h": 115.8
  },
  "luminance": 0.58172
}

Semantic roles & 50–950 ramp

primary
#C2D252
secondary
#453B8D
accent
#46E259
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D252

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

Preview Lab → · Contrast checker → · Palette generator →

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