#C2D052#C2D052

#C2D052 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.3% C 0.150 H 115.1°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#C2D052
RGBrgb(194, 208, 82)
HSLhsl(67, 57%, 57%)
HSVhsv(67, 61%, 82%)
CMYKcmyk(6.7%, 0%, 60.6%, 18.4%)
CIE-LABlab(80.29, -21.54, 59.21)
CIE-LCHlch(80.29, 63.01, 109.99°)
OKLaboklab(82.26% -0.0636 0.1357)
OKLCHoklch(82.26% 0.15 115.1)
XYZxyz(46.3280, 57.1910, 16.5795)
Luminance0.5719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D052 #6052D0
analogous
#D09F52 #C2D052 #83D052
triadic
#C2D052 #52C2D0 #D052C2
tetradic
#C2D052 #52D09F #6052D0 #D05283
square
#C2D052 #52D09F #6052D0 #D05283
split-complementary
#C2D052 #5283D0 #9F52D0
monochromatic
#798424 #A5B431 #C2D052 #D3DD82 #E4EAB2

Accessibility & contrast

On white

1.69
#C2D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#C2D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D052
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D052#FFFFFF#000000##000000
##C2D0521.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#CDC5B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d052;
/* rgb */ color: rgb(194, 208, 82);
/* oklch */ color: oklch(82.3% 0.150 115.1);
Tailwind
colors: {
  custom: {
    50: '#d7de88',
    500: '#c2d052',
    950: '#000000',
  },
}
SCSS
$custom: #c2d052;
$custom-light: #d7de88;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d052",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 66.667,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82263,
    "c": 0.14989,
    "h": 115.1
  },
  "luminance": 0.5719
}

Semantic roles & 50–950 ramp

primary
#C2D052
secondary
#443B8B
accent
#47E158
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D052

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

Preview Lab → · Contrast checker → · Palette generator →

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