#C2D548#C2D548

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

Color values

HEX#C2D548
RGBrgb(194, 213, 72)
HSLhsl(68, 63%, 56%)
HSVhsv(68, 66%, 84%)
CMYKcmyk(8.9%, 0%, 66.2%, 16.5%)
CIE-LABlab(81.58, -24.62, 64.65)
CIE-LCHlch(81.58, 69.17, 110.85°)
OKLaboklab(83.28% -0.0732 0.1458)
OKLCHoklch(83.28% 0.163 116.7)
XYZxyz(47.2131, 59.5263, 15.1322)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D548 #5B48D5
analogous
#D5A148 #C2D548 #7BD548
triadic
#C2D548 #48C2D5 #D548C2
tetradic
#C2D548 #48D5A1 #5B48D5 #D5487B
square
#C2D548 #48D5A1 #5B48D5 #D5487B
split-complementary
#C2D548 #487BD5 #A148D5
monochromatic
#77841E #A3B62A #C2D548 #D3E07A #E3ECAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D548#FFFFFF#000000##000000
##C2D5481.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)
#E3CA34
Deuteranopia (green-blind)
#E1CC52
Tritanopia (blue-blind)
#CEC9B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c2d548;
/* rgb */ color: rgb(194, 213, 72);
/* oklch */ color: oklch(83.3% 0.163 116.7);
Tailwind
colors: {
  custom: {
    50: '#d8e182',
    500: '#c2d548',
    950: '#000000',
  },
}
SCSS
$custom: #c2d548;
$custom-light: #d8e182;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d548",
  "rgb": {
    "r": 194,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 68.085,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83275,
    "c": 0.16314,
    "h": 116.7
  },
  "luminance": 0.59526
}

Semantic roles & 50–950 ramp

primary
#C2D548
secondary
#42368B
accent
#42E658
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D548

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

Preview Lab → · Contrast checker → · Palette generator →

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