#C2D948#C2D948

#C2D948 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.2% C 0.168 H 117.9°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#C2D948
RGBrgb(194, 217, 72)
HSLhsl(70, 66%, 57%)
HSVhsv(70, 67%, 85%)
CMYKcmyk(10.6%, 0%, 66.8%, 14.9%)
CIE-LABlab(82.68, -26.54, 65.77)
CIE-LCHlch(82.68, 70.93, 111.97°)
OKLaboklab(84.16% -0.0785 0.1482)
OKLCHoklch(84.16% 0.168 117.9)
XYZxyz(48.2317, 61.5634, 15.4717)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D948 #5F48D9
analogous
#D9A848 #C2D948 #7AD948
triadic
#C2D948 #48C2D9 #D948C2
tetradic
#C2D948 #48D9A8 #5F48D9 #D9487A
square
#C2D948 #48D9A8 #5F48D9 #D9487A
split-complementary
#C2D948 #487AD9 #A848D9
monochromatic
#798A1D #A5BD27 #C2D948 #D3E47B #E4EEAD

Accessibility & contrast

On white

1.58
#C2D948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#C2D948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D948
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D948#FFFFFF#000000##000000
##C2D9481.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD33
Deuteranopia (green-blind)
#E5CF53
Tritanopia (blue-blind)
#CDCDBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c2d948;
/* rgb */ color: rgb(194, 217, 72);
/* oklch */ color: oklch(84.2% 0.168 117.9);
Tailwind
colors: {
  custom: {
    50: '#d8e483',
    500: '#c2d948',
    950: '#000000',
  },
}
SCSS
$custom: #c2d948;
$custom-light: #d8e483;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d948",
  "rgb": {
    "r": 194,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 69.517,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84159,
    "c": 0.16769,
    "h": 117.9
  },
  "luminance": 0.61563
}

Semantic roles & 50–950 ramp

primary
#C2D948
secondary
#443590
accent
#3FE95A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D948

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

Preview Lab → · Contrast checker → · Palette generator →

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