#C2D166#C2D166

#C2D166 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.7% C 0.133 H 116.0°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#C2D166
RGBrgb(194, 209, 102)
HSLhsl(68, 54%, 61%)
HSVhsv(68, 51%, 82%)
CMYKcmyk(7.2%, 0%, 51.2%, 18%)
CIE-LABlab(80.76, -20.41, 50.77)
CIE-LCHlch(80.76, 54.72, 111.90°)
OKLaboklab(82.7% -0.0584 0.1198)
OKLCHoklch(82.7% 0.133 116)
XYZxyz(47.4476, 58.0301, 21.2692)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D166 #7566D1
analogous
#D1AA66 #C2D166 #8CD166
triadic
#C2D166 #66C2D1 #D166C2
tetradic
#C2D166 #66D1AA #7566D1 #D1668C
square
#C2D166 #66D1AA #7566D1 #D1668C
split-complementary
#C2D166 #668CD1 #AA66D1
monochromatic
#83912C #ADC03A #C2D166 #D5DF95 #E8EDC4

Accessibility & contrast

On white

1.67
#C2D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#C2D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D166
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D166#FFFFFF#000000##000000
##C2D1661.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC85C
Deuteranopia (green-blind)
#DCC96C
Tritanopia (blue-blind)
#CCC7B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d166;
/* rgb */ color: rgb(194, 209, 102);
/* oklch */ color: oklch(82.7% 0.133 116.0);
Tailwind
colors: {
  custom: {
    50: '#d6df94',
    500: '#c2d166',
    950: '#000000',
  },
}
SCSS
$custom: #c2d166;
$custom-light: #d6df94;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d166",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 68.411,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82701,
    "c": 0.13331,
    "h": 116
  },
  "luminance": 0.5803
}

Semantic roles & 50–950 ramp

primary
#C2D166
secondary
#504497
accent
#24C13A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2D166

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

Preview Lab → · Contrast checker → · Palette generator →

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