#C2D45F#C2D45F

#C2D45F is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.3% C 0.144 H 116.9°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#C2D45F
RGBrgb(194, 212, 95)
HSLhsl(69, 58%, 60%)
HSVhsv(69, 55%, 83%)
CMYKcmyk(8.5%, 0%, 55.2%, 16.9%)
CIE-LABlab(81.50, -22.49, 54.86)
CIE-LCHlch(81.50, 59.29, 112.29°)
OKLaboklab(83.28% -0.065 0.128)
OKLCHoklch(83.28% 0.144 116.9)
XYZxyz(47.8579, 59.3830, 19.7652)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D45F #715FD4
analogous
#D4AC5F #C2D45F #87D45F
triadic
#C2D45F #5FC2D4 #D45FC2
tetradic
#C2D45F #5FD4AC #715FD4 #D45F87
square
#C2D45F #5FD4AC #715FD4 #D45F87
split-complementary
#C2D45F #5F87D4 #AC5FD4
monochromatic
#819127 #ACC234 #C2D45F #D4E18F #E7EEBF

Accessibility & contrast

On white

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

On black

12.88
#C2D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D45F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D45F#FFFFFF#000000##000000
##C2D45F1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#DFCB66
Tritanopia (blue-blind)
#CCCABA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d45f;
/* rgb */ color: rgb(194, 212, 95);
/* oklch */ color: oklch(83.3% 0.144 116.9);
Tailwind
colors: {
  custom: {
    50: '#d7e190',
    500: '#c2d45f',
    950: '#000000',
  },
}
SCSS
$custom: #c2d45f;
$custom-light: #d7e190;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d45f",
  "rgb": {
    "r": 194,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 69.231,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83275,
    "c": 0.14353,
    "h": 116.9
  },
  "luminance": 0.59383
}

Semantic roles & 50–950 ramp

primary
#C2D45F
secondary
#4E4097
accent
#20C53A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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