#C2D262#C2D262

#C2D262 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.9% C 0.138 H 116.3°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#C2D262
RGBrgb(194, 210, 98)
HSLhsl(69, 55%, 60%)
HSVhsv(69, 53%, 82%)
CMYKcmyk(7.6%, 0%, 53.3%, 17.6%)
CIE-LABlab(80.99, -21.26, 52.90)
CIE-LCHlch(80.99, 57.01, 111.89°)
OKLaboklab(82.87% -0.0612 0.1241)
OKLCHoklch(82.87% 0.138 116.3)
XYZxyz(47.5001, 58.4449, 20.3316)
Luminance0.5844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D262 #7262D2
analogous
#D2AA62 #C2D262 #8AD262
triadic
#C2D262 #62C2D2 #D262C2
tetradic
#C2D262 #62D2AA #7262D2 #D2628A
square
#C2D262 #62D2AA #7262D2 #D2628A
split-complementary
#C2D262 #628AD2 #AA62D2
monochromatic
#829029 #ACC037 #C2D262 #D4E092 #E7EDC1

Accessibility & contrast

On white

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

On black

12.69
#C2D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D262
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D262#FFFFFF#000000##000000
##C2D2621.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC857
Deuteranopia (green-blind)
#DDCA68
Tritanopia (blue-blind)
#CCC8B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d262;
/* rgb */ color: rgb(194, 210, 98);
/* oklch */ color: oklch(82.9% 0.138 116.3);
Tailwind
colors: {
  custom: {
    50: '#d6df92',
    500: '#c2d262',
    950: '#000000',
  },
}
SCSS
$custom: #c2d262;
$custom-light: #d6df92;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d262",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 68.571,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82871,
    "c": 0.13834,
    "h": 116.3
  },
  "luminance": 0.58444
}

Semantic roles & 50–950 ramp

primary
#C2D262
secondary
#4E4296
accent
#23C339
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2D262

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

Preview Lab → · Contrast checker → · Palette generator →

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