#C2D062#C2D062

#C2D062 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.4% C 0.136 H 115.5°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#C2D062
RGBrgb(194, 208, 98)
HSLhsl(68, 54%, 60%)
HSVhsv(68, 53%, 82%)
CMYKcmyk(6.7%, 0%, 52.9%, 18.4%)
CIE-LABlab(80.44, -20.27, 52.27)
CIE-LCHlch(80.44, 56.06, 111.20°)
OKLaboklab(82.43% -0.0584 0.1227)
OKLCHoklch(82.43% 0.136 115.5)
XYZxyz(47.0094, 57.4635, 20.1680)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D062 #7062D0
analogous
#D0A762 #C2D062 #8BD062
triadic
#C2D062 #62C2D0 #D062C2
tetradic
#C2D062 #62D0A7 #7062D0 #D0628B
square
#C2D062 #62D0A7 #7062D0 #D0628B
split-complementary
#C2D062 #628BD0 #A762D0
monochromatic
#818D2A #ACBC38 #C2D062 #D4DE91 #E7ECC0

Accessibility & contrast

On white

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

On black

12.49
#C2D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D062
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D062#FFFFFF#000000##000000
##C2D0621.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC757
Deuteranopia (green-blind)
#DCC968
Tritanopia (blue-blind)
#CCC6B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d062;
/* rgb */ color: rgb(194, 208, 98);
/* oklch */ color: oklch(82.4% 0.136 115.5);
Tailwind
colors: {
  custom: {
    50: '#d6de92',
    500: '#c2d062',
    950: '#000000',
  },
}
SCSS
$custom: #c2d062;
$custom-light: #d6de92;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d062",
  "rgb": {
    "r": 194,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 67.636,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.82434,
    "c": 0.1359,
    "h": 115.5
  },
  "luminance": 0.57463
}

Semantic roles & 50–950 ramp

primary
#C2D062
secondary
#4D4394
accent
#4BDD5D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2D062

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

Preview Lab → · Contrast checker → · Palette generator →

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