#C2D54D#C2D54D

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

Color values

HEX#C2D54D
RGBrgb(194, 213, 77)
HSLhsl(68, 62%, 57%)
HSVhsv(68, 64%, 84%)
CMYKcmyk(8.9%, 0%, 63.8%, 16.5%)
CIE-LABlab(81.62, -24.30, 62.71)
CIE-LCHlch(81.62, 67.25, 111.19°)
OKLaboklab(83.32% -0.0719 0.1424)
OKLCHoklch(83.32% 0.16 116.8)
XYZxyz(47.3829, 59.5942, 16.0265)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D54D #604DD5
analogous
#D5A44D #C2D54D #7ED54D
triadic
#C2D54D #4DC2D5 #D54DC2
tetradic
#C2D54D #4DD5A4 #604DD5 #D54D7E
square
#C2D54D #4DD5A4 #604DD5 #D54D7E
split-complementary
#C2D54D #4D7ED5 #A44DD5
monochromatic
#798820 #A5B92C #C2D54D #D3E17F #E4ECB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D54D#FFFFFF#000000##000000
##C2D54D1.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)
#E3CA3B
Deuteranopia (green-blind)
#E1CC56
Tritanopia (blue-blind)
#CDCAB9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c2d54d;
/* rgb */ color: rgb(194, 213, 77);
/* oklch */ color: oklch(83.3% 0.160 116.8);
Tailwind
colors: {
  custom: {
    50: '#d7e185',
    500: '#c2d54d',
    950: '#000000',
  },
}
SCSS
$custom: #c2d54d;
$custom-light: #d7e185;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d54d",
  "rgb": {
    "r": 194,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 68.382,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83317,
    "c": 0.15953,
    "h": 116.8
  },
  "luminance": 0.59594
}

Semantic roles & 50–950 ramp

primary
#C2D54D
secondary
#44388E
accent
#43E55A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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