#C2D54B#C2D54B

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

Color values

HEX#C2D54B
RGBrgb(194, 213, 75)
HSLhsl(68, 62%, 56%)
HSVhsv(68, 65%, 84%)
CMYKcmyk(8.9%, 0%, 64.8%, 16.5%)
CIE-LABlab(81.60, -24.43, 63.49)
CIE-LCHlch(81.60, 68.03, 111.05°)
OKLaboklab(83.3% -0.0724 0.1438)
OKLCHoklch(83.3% 0.161 116.7)
XYZxyz(47.3134, 59.5664, 15.6603)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D54B #5E4BD5
analogous
#D5A34B #C2D54B #7DD54B
triadic
#C2D54B #4BC2D5 #D54BC2
tetradic
#C2D54B #4BD5A3 #5E4BD5 #D54B7D
square
#C2D54B #4BD5A3 #5E4BD5 #D54B7D
split-complementary
#C2D54B #4B7DD5 #A34BD5
monochromatic
#78861F #A4B82B #C2D54B #D3E17D #E4ECAE

Accessibility & contrast

On white

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

On black

12.91
#C2D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D54B
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D54B#FFFFFF#000000##000000
##C2D54B1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2d54b;
/* rgb */ color: rgb(194, 213, 75);
/* oklch */ color: oklch(83.3% 0.161 116.7);
Tailwind
colors: {
  custom: {
    50: '#d7e184',
    500: '#c2d54b',
    950: '#000000',
  },
}
SCSS
$custom: #c2d54b;
$custom-light: #d7e184;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d54b",
  "rgb": {
    "r": 194,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 68.261,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.833,
    "c": 0.161,
    "h": 116.7
  },
  "luminance": 0.59566
}

Semantic roles & 50–950 ramp

primary
#C2D54B
secondary
#43378D
accent
#43E559
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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