#C2D139#C2D139

#C2D139 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.3% C 0.168 H 115.1°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#C2D139
RGBrgb(194, 209, 57)
HSLhsl(66, 62%, 52%)
HSVhsv(66, 73%, 82%)
CMYKcmyk(7.2%, 0%, 72.7%, 18%)
CIE-LABlab(80.39, -23.49, 68.90)
CIE-LCHlch(80.39, 72.79, 108.83°)
OKLaboklab(82.29% -0.0715 0.1523)
OKLCHoklch(82.29% 0.168 115.1)
XYZxyz(45.7884, 57.3665, 12.5309)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D139 #4839D1
analogous
#D19439 #C2D139 #76D139
triadic
#C2D139 #39C2D1 #D139C2
tetradic
#C2D139 #39D194 #4839D1 #D13976
square
#C2D139 #39D194 #4839D1 #D13976
split-complementary
#C2D139 #3976D1 #9439D1
monochromatic
#6C751B #9AA627 #C2D139 #D1DD6B #E1E89C

Accessibility & contrast

On white

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

On black

12.47
#C2D139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D139
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D139#FFFFFF#000000##000000
##C2D1391.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C61A
Deuteranopia (green-blind)
#DFC946
Tritanopia (blue-blind)
#CFC5B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c2d139;
/* rgb */ color: rgb(194, 209, 57);
/* oklch */ color: oklch(82.3% 0.168 115.1);
Tailwind
colors: {
  custom: {
    50: '#d8df7a',
    500: '#c2d139',
    950: '#000000',
  },
}
SCSS
$custom: #c2d139;
$custom-light: #d8df7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d139",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 57
  },
  "hsl": {
    "h": 65.921,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82286,
    "c": 0.16827,
    "h": 115.1
  },
  "luminance": 0.57366
}

Semantic roles & 50–950 ramp

primary
#C2D139
secondary
#39317D
accent
#42E553
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D139

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

Preview Lab → · Contrast checker → · Palette generator →

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