#C2D131#C2D131

#C2D131 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.2% C 0.173 H 115.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#C2D131
RGBrgb(194, 209, 49)
HSLhsl(66, 63%, 51%)
HSVhsv(66, 77%, 82%)
CMYKcmyk(7.2%, 0%, 76.6%, 18%)
CIE-LABlab(80.34, -23.84, 71.40)
CIE-LCHlch(80.34, 75.28, 108.46°)
OKLaboklab(82.24% -0.0731 0.1563)
OKLCHoklch(82.24% 0.173 115.1)
XYZxyz(45.6043, 57.2928, 11.5614)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D131 #4031D1
analogous
#D19031 #C2D131 #72D131
triadic
#C2D131 #31C2D1 #D131C2
tetradic
#C2D131 #31D190 #4031D1 #D13172
square
#C2D131 #31D190 #4031D1 #D13172
split-complementary
#C2D131 #3172D1 #9031D1
monochromatic
#676F19 #95A124 #C2D131 #D1DC63 #E0E795

Accessibility & contrast

On white

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

On black

12.46
#C2D131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D131
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D131#FFFFFF#000000##000000
##C2D1311.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#DFC940
Tritanopia (blue-blind)
#CFC5B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d131;
/* rgb */ color: rgb(194, 209, 49);
/* oklch */ color: oklch(82.2% 0.173 115.1);
Tailwind
colors: {
  custom: {
    50: '#d8de76',
    500: '#c2d131',
    950: '#000000',
  },
}
SCSS
$custom: #c2d131;
$custom-light: #d8de76;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d131",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 49
  },
  "hsl": {
    "h": 65.625,
    "s": 63.492,
    "l": 50.588
  },
  "oklch": {
    "l": 0.82239,
    "c": 0.17252,
    "h": 115.1
  },
  "luminance": 0.57292
}

Semantic roles & 50–950 ramp

primary
#C2D131
secondary
#352E78
accent
#41E751
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2D131

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

Preview Lab → · Contrast checker → · Palette generator →

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