#C2D457#C2D457

#C2D457 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.2% C 0.150 H 116.7°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#C2D457
RGBrgb(194, 212, 87)
HSLhsl(69, 59%, 59%)
HSVhsv(69, 59%, 83%)
CMYKcmyk(8.5%, 0%, 59%, 16.9%)
CIE-LABlab(81.43, -23.12, 58.32)
CIE-LCHlch(81.43, 62.73, 111.63°)
OKLaboklab(83.19% -0.0675 0.1344)
OKLCHoklch(83.19% 0.15 116.7)
XYZxyz(47.5128, 59.2450, 17.9474)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D457 #6957D4
analogous
#D4A757 #C2D457 #83D457
triadic
#C2D457 #57C2D4 #D457C2
tetradic
#C2D457 #57D4A7 #6957D4 #D45783
square
#C2D457 #57D4A7 #6957D4 #D45783
split-complementary
#C2D457 #5783D4 #A757D4
monochromatic
#7E8D24 #A9BD30 #C2D457 #D4E088 #E5EDB8

Accessibility & contrast

On white

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

On black

12.85
#C2D457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D457
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D457#FFFFFF#000000##000000
##C2D4571.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA49
Deuteranopia (green-blind)
#E0CB5F
Tritanopia (blue-blind)
#CDC9B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d457;
/* rgb */ color: rgb(194, 212, 87);
/* oklch */ color: oklch(83.2% 0.150 116.7);
Tailwind
colors: {
  custom: {
    50: '#d7e18b',
    500: '#c2d457',
    950: '#000000',
  },
}
SCSS
$custom: #c2d457;
$custom-light: #d7e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d457",
  "rgb": {
    "r": 194,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 68.64,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8319,
    "c": 0.15047,
    "h": 116.7
  },
  "luminance": 0.59244
}

Semantic roles & 50–950 ramp

primary
#C2D457
secondary
#493D93
accent
#45E25C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D457

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

Preview Lab → · Contrast checker → · Palette generator →

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