#C2D332#C2D332

#C2D332 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.7% C 0.174 H 115.7°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#C2D332
RGBrgb(194, 211, 50)
HSLhsl(66, 65%, 51%)
HSVhsv(66, 76%, 83%)
CMYKcmyk(8.1%, 0%, 76.3%, 17.3%)
CIE-LABlab(80.90, -24.77, 71.61)
CIE-LCHlch(80.90, 75.77, 109.08°)
OKLaboklab(82.69% -0.0756 0.1569)
OKLCHoklch(82.69% 0.174 115.7)
XYZxyz(46.1194, 58.2889, 11.8384)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D332 #4332D3
analogous
#D39332 #C2D332 #71D332
triadic
#C2D332 #32C2D3 #D332C2
tetradic
#C2D332 #32D393 #4332D3 #D33271
square
#C2D332 #32D393 #4332D3 #D33271
split-complementary
#C2D332 #3271D3 #9332D3
monochromatic
#697218 #97A423 #C2D332 #D1DE64 #E0E997

Accessibility & contrast

On white

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

On black

12.66
#C2D332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D332
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D332#FFFFFF#000000##000000
##C2D3321.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C800
Deuteranopia (green-blind)
#E1CA41
Tritanopia (blue-blind)
#CFC7B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d332;
/* rgb */ color: rgb(194, 211, 50);
/* oklch */ color: oklch(82.7% 0.174 115.7);
Tailwind
colors: {
  custom: {
    50: '#d8e077',
    500: '#c2d332',
    950: '#000000',
  },
}
SCSS
$custom: #c2d332;
$custom-light: #d8e077;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d332",
  "rgb": {
    "r": 194,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 66.335,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82687,
    "c": 0.17414,
    "h": 115.7
  },
  "luminance": 0.58288
}

Semantic roles & 50–950 ramp

primary
#C2D332
secondary
#362E7B
accent
#40E852
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D332

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

Preview Lab → · Contrast checker → · Palette generator →

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