#C2D148#C2D148

#C2D148 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.4% C 0.159 H 115.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#C2D148
RGBrgb(194, 209, 72)
HSLhsl(67, 60%, 55%)
HSVhsv(67, 66%, 82%)
CMYKcmyk(7.2%, 0%, 65.6%, 18%)
CIE-LABlab(80.48, -22.68, 63.51)
CIE-LCHlch(80.48, 67.44, 109.65°)
OKLaboklab(82.39% -0.0678 0.1434)
OKLCHoklch(82.39% 0.159 115.3)
XYZxyz(46.2194, 57.5389, 14.8009)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D148 #5748D1
analogous
#D19B48 #C2D148 #7ED148
triadic
#C2D148 #48C2D1 #D148C2
tetradic
#C2D148 #48D19B #5748D1 #D1487E
square
#C2D148 #48D19B #5748D1 #D1487E
split-complementary
#C2D148 #487ED1 #9B48D1
monochromatic
#747F20 #A1B02C #C2D148 #D2DD79 #E3EAAA

Accessibility & contrast

On white

1.68
#C2D148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#C2D148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D148
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D148#FFFFFF#000000##000000
##C2D1481.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC735
Deuteranopia (green-blind)
#DEC952
Tritanopia (blue-blind)
#CEC5B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c2d148;
/* rgb */ color: rgb(194, 209, 72);
/* oklch */ color: oklch(82.4% 0.159 115.3);
Tailwind
colors: {
  custom: {
    50: '#d7df82',
    500: '#c2d148',
    950: '#000000',
  },
}
SCSS
$custom: #c2d148;
$custom-light: #d7df82;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d148",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 66.569,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82394,
    "c": 0.15863,
    "h": 115.3
  },
  "luminance": 0.57538
}

Semantic roles & 50–950 ramp

primary
#C2D148
secondary
#403786
accent
#45E356
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D148

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

Preview Lab → · Contrast checker → · Palette generator →

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