#C2D545#C2D545

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

Color values

HEX#C2D545
RGBrgb(194, 213, 69)
HSLhsl(68, 63%, 55%)
HSVhsv(68, 68%, 84%)
CMYKcmyk(8.9%, 0%, 67.6%, 16.5%)
CIE-LABlab(81.56, -24.80, 65.77)
CIE-LCHlch(81.56, 70.29, 110.66°)
OKLaboklab(83.25% -0.074 0.1477)
OKLCHoklch(83.25% 0.165 116.6)
XYZxyz(47.1176, 59.4881, 14.6293)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D545 #5845D5
analogous
#D5A045 #C2D545 #7AD545
triadic
#C2D545 #45C2D5 #D545C2
tetradic
#C2D545 #45D5A0 #5845D5 #D5457A
square
#C2D545 #45D5A0 #5845D5 #D5457A
split-complementary
#C2D545 #457AD5 #A045D5
monochromatic
#75821D #A2B429 #C2D545 #D2E077 #E3ECA9

Accessibility & contrast

On white

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

On black

12.90
#C2D545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D545
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D545#FFFFFF#000000##000000
##C2D5451.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2F
Deuteranopia (green-blind)
#E2CC50
Tritanopia (blue-blind)
#CEC9B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c2d545;
/* rgb */ color: rgb(194, 213, 69);
/* oklch */ color: oklch(83.3% 0.165 116.6);
Tailwind
colors: {
  custom: {
    50: '#d8e181',
    500: '#c2d545',
    950: '#000000',
  },
}
SCSS
$custom: #c2d545;
$custom-light: #d8e181;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d545",
  "rgb": {
    "r": 194,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 67.917,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83252,
    "c": 0.1652,
    "h": 116.6
  },
  "luminance": 0.59488
}

Semantic roles & 50–950 ramp

primary
#C2D545
secondary
#403589
accent
#42E657
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D545

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

Preview Lab → · Contrast checker → · Palette generator →

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