#C2D848#C2D848

#C2D848 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 83.9% C 0.167 H 117.6°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#C2D848
RGBrgb(194, 216, 72)
HSLhsl(69, 65%, 56%)
HSVhsv(69, 67%, 85%)
CMYKcmyk(10.2%, 0%, 66.7%, 15.3%)
CIE-LABlab(82.41, -26.06, 65.49)
CIE-LCHlch(82.41, 70.49, 111.70°)
OKLaboklab(83.94% -0.0772 0.1476)
OKLCHoklch(83.94% 0.167 117.6)
XYZxyz(47.9747, 61.0494, 15.3860)
Luminance0.6105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D848 #5E48D8
analogous
#D8A648 #C2D848 #7AD848
triadic
#C2D848 #48C2D8 #D848C2
tetradic
#C2D848 #48D8A6 #5E48D8 #D8487A
square
#C2D848 #48D8A6 #5E48D8 #D8487A
split-complementary
#C2D848 #487AD8 #A648D8
monochromatic
#78891D #A4BB28 #C2D848 #D3E37A #E4EEAD

Accessibility & contrast

On white

1.59
#C2D848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#C2D848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D848
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D848#FFFFFF#000000##000000
##C2D8481.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD33
Deuteranopia (green-blind)
#E4CE53
Tritanopia (blue-blind)
#CDCCBB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c2d848;
/* rgb */ color: rgb(194, 216, 72);
/* oklch */ color: oklch(83.9% 0.167 117.6);
Tailwind
colors: {
  custom: {
    50: '#d8e483',
    500: '#c2d848',
    950: '#000000',
  },
}
SCSS
$custom: #c2d848;
$custom-light: #d8e483;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d848",
  "rgb": {
    "r": 194,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 69.167,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83938,
    "c": 0.16655,
    "h": 117.6
  },
  "luminance": 0.61049
}

Semantic roles & 50–950 ramp

primary
#C2D848
secondary
#43368F
accent
#40E85A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D848

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

Preview Lab → · Contrast checker → · Palette generator →

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