#C2D142#C2D142

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

Color values

HEX#C2D142
RGBrgb(194, 209, 66)
HSLhsl(66, 61%, 54%)
HSVhsv(66, 68%, 82%)
CMYKcmyk(7.2%, 0%, 68.4%, 18%)
CIE-LABlab(80.44, -23.03, 65.77)
CIE-LCHlch(80.44, 69.68, 109.30°)
OKLaboklab(82.35% -0.0694 0.1472)
OKLCHoklch(82.35% 0.163 115.2)
XYZxyz(46.0331, 57.4644, 13.8200)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D142 #5142D1
analogous
#D19942 #C2D142 #7BD142
triadic
#C2D142 #42C2D1 #D142C2
tetradic
#C2D142 #42D199 #5142D1 #D1427B
square
#C2D142 #42D199 #5142D1 #D1427B
split-complementary
#C2D142 #427BD1 #9942D1
monochromatic
#717B1E #9EAC2A #C2D142 #D2DD73 #E2E9A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D142#FFFFFF#000000##000000
##C2D1421.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)
#E0C72B
Deuteranopia (green-blind)
#DFC94D
Tritanopia (blue-blind)
#CEC5B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d142;
/* rgb */ color: rgb(194, 209, 66);
/* oklch */ color: oklch(82.3% 0.163 115.2);
Tailwind
colors: {
  custom: {
    50: '#d8df7f',
    500: '#c2d142',
    950: '#000000',
  },
}
SCSS
$custom: #c2d142;
$custom-light: #d8df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d142",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 66.294,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82347,
    "c": 0.16274,
    "h": 115.2
  },
  "luminance": 0.57464
}

Semantic roles & 50–950 ramp

primary
#C2D142
secondary
#3D3583
accent
#44E455
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D142

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

Preview Lab → · Contrast checker → · Palette generator →

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