#C2D54E#C2D54E

#C2D54E is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.3% C 0.159 H 116.8°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#C2D54E
RGBrgb(194, 213, 78)
HSLhsl(68, 62%, 57%)
HSVhsv(68, 63%, 84%)
CMYKcmyk(8.9%, 0%, 63.4%, 16.5%)
CIE-LABlab(81.62, -24.24, 62.31)
CIE-LCHlch(81.62, 66.86, 111.26°)
OKLaboklab(83.33% -0.0716 0.1417)
OKLCHoklch(83.33% 0.159 116.8)
XYZxyz(47.4185, 59.6085, 16.2138)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D54E #614ED5
analogous
#D5A44E #C2D54E #7FD54E
triadic
#C2D54E #4EC2D5 #D54EC2
tetradic
#C2D54E #4ED5A4 #614ED5 #D54E7F
square
#C2D54E #4ED5A4 #614ED5 #D54E7F
split-complementary
#C2D54E #4E7FD5 #A44ED5
monochromatic
#7A8820 #A6BA2C #C2D54E #D3E17F #E4ECB1

Accessibility & contrast

On white

1.63
#C2D54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#C2D54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D54E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D54E#FFFFFF#000000##000000
##C2D54E1.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3D
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#CDCAB9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c2d54e;
/* rgb */ color: rgb(194, 213, 78);
/* oklch */ color: oklch(83.3% 0.159 116.8);
Tailwind
colors: {
  custom: {
    50: '#d7e186',
    500: '#c2d54e',
    950: '#000000',
  },
}
SCSS
$custom: #c2d54e;
$custom-light: #d7e186;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d54e",
  "rgb": {
    "r": 194,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 68.444,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83325,
    "c": 0.15878,
    "h": 116.8
  },
  "luminance": 0.59608
}

Semantic roles & 50–950 ramp

primary
#C2D54E
secondary
#45398F
accent
#43E55A
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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