#C2D140#C2D140

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

Color values

HEX#C2D140
RGBrgb(194, 209, 64)
HSLhsl(66, 61%, 54%)
HSVhsv(66, 69%, 82%)
CMYKcmyk(7.2%, 0%, 69.4%, 18%)
CIE-LABlab(80.43, -23.14, 66.49)
CIE-LCHlch(80.43, 70.40, 109.19°)
OKLaboklab(82.33% -0.0698 0.1484)
OKLCHoklch(82.33% 0.164 115.2)
XYZxyz(45.9752, 57.4412, 13.5148)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D140 #4F40D1
analogous
#D19740 #C2D140 #79D140
triadic
#C2D140 #40C2D1 #D140C2
tetradic
#C2D140 #40D197 #4F40D1 #D14079
square
#C2D140 #40D197 #4F40D1 #D14079
split-complementary
#C2D140 #4079D1 #9740D1
monochromatic
#70791D #9DAB29 #C2D140 #D2DD71 #E2E9A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D140#FFFFFF#000000##000000
##C2D1401.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)
#E0C728
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#CEC5B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d140;
/* rgb */ color: rgb(194, 209, 64);
/* oklch */ color: oklch(82.3% 0.164 115.2);
Tailwind
colors: {
  custom: {
    50: '#d8df7e',
    500: '#c2d140',
    950: '#000000',
  },
}
SCSS
$custom: #c2d140;
$custom-light: #d8df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d140",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 66.207,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82333,
    "c": 0.16404,
    "h": 115.2
  },
  "luminance": 0.5744
}

Semantic roles & 50–950 ramp

primary
#C2D140
secondary
#3C3481
accent
#44E454
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2D140

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

Preview Lab → · Contrast checker → · Palette generator →

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