#C2D458#C2D458

#C2D458 is a very light, vivid yellow. Relative luminance 0.593; 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#C2D458
RGBrgb(194, 212, 88)
HSLhsl(69, 59%, 59%)
HSVhsv(69, 58%, 83%)
CMYKcmyk(8.5%, 0%, 58.5%, 16.9%)
CIE-LABlab(81.44, -23.04, 57.89)
CIE-LCHlch(81.44, 62.31, 111.70°)
OKLaboklab(83.2% -0.0672 0.1337)
OKLCHoklch(83.2% 0.15 116.7)
XYZxyz(47.5539, 59.2614, 18.1641)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D458 #6A58D4
analogous
#D4A858 #C2D458 #84D458
triadic
#C2D458 #58C2D4 #D458C2
tetradic
#C2D458 #58D4A8 #6A58D4 #D45884
square
#C2D458 #58D4A8 #6A58D4 #D45884
split-complementary
#C2D458 #5884D4 #A858D4
monochromatic
#7E8D24 #A9BE31 #C2D458 #D4E189 #E6EDB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2D458#FFFFFF#000000##000000
##C2D4581.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)
#E1CA4A
Deuteranopia (green-blind)
#E0CB60
Tritanopia (blue-blind)
#CDC9B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d458;
/* rgb */ color: rgb(194, 212, 88);
/* oklch */ color: oklch(83.2% 0.150 116.7);
Tailwind
colors: {
  custom: {
    50: '#d7e18c',
    500: '#c2d458',
    950: '#000000',
  },
}
SCSS
$custom: #c2d458;
$custom-light: #d7e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d458",
  "rgb": {
    "r": 194,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 68.71,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.832,
    "c": 0.14962,
    "h": 116.7
  },
  "luminance": 0.59261
}

Semantic roles & 50–950 ramp

primary
#C2D458
secondary
#4A3D93
accent
#46E25C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D458

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

Preview Lab → · Contrast checker → · Palette generator →

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