#C2D21F#C2D21F

#C2D21F is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.4% C 0.181 H 115.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#C2D21F
RGBrgb(194, 210, 31)
HSLhsl(65, 74%, 47%)
HSVhsv(65, 85%, 82%)
CMYKcmyk(7.6%, 0%, 85.2%, 17.6%)
CIE-LABlab(80.55, -24.91, 76.15)
CIE-LCHlch(80.55, 80.12, 108.11°)
OKLaboklab(82.38% -0.0772 0.1635)
OKLCHoklch(82.38% 0.181 115.3)
XYZxyz(45.5435, 57.6623, 10.0268)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D21F #2F1FD2
analogous
#D2881F #C2D21F #69D21F
triadic
#C2D21F #1FC2D2 #D21FC2
tetradic
#C2D21F #1FD288 #2F1FD2 #D21F69
square
#C2D21F #1FD288 #2F1FD2 #D21F69
split-complementary
#C2D21F #1F69D2 #881FD2
monochromatic
#5F670F #919D17 #C2D21F #D6E44A #E2EC7F

Accessibility & contrast

On white

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

On black

12.53
#C2D21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D21F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D21F#FFFFFF#000000##000000
##C2D21F1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C700
Deuteranopia (green-blind)
#E1C934
Tritanopia (blue-blind)
#CFC5B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d21f;
/* rgb */ color: rgb(194, 210, 31);
/* oklch */ color: oklch(82.4% 0.181 115.3);
Tailwind
colors: {
  custom: {
    50: '#d9df70',
    500: '#c2d21f',
    950: '#000000',
  },
}
SCSS
$custom: #c2d21f;
$custom-light: #d9df70;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d21f",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 31
  },
  "hsl": {
    "h": 65.363,
    "s": 74.274,
    "l": 47.255
  },
  "oklch": {
    "l": 0.82383,
    "c": 0.18082,
    "h": 115.3
  },
  "luminance": 0.57661
}

Semantic roles & 50–950 ramp

primary
#C2D21F
secondary
#2B2471
accent
#37F148
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2D21F

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

Preview Lab → · Contrast checker → · Palette generator →

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