#C2D348#C2D348

#C2D348 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 82.8% C 0.161 H 116.0°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#C2D348
RGBrgb(194, 211, 72)
HSLhsl(67, 61%, 55%)
HSVhsv(67, 66%, 83%)
CMYKcmyk(8.1%, 0%, 65.9%, 17.3%)
CIE-LABlab(81.03, -23.65, 64.08)
CIE-LCHlch(81.03, 68.31, 110.26°)
OKLaboklab(82.83% -0.0705 0.1446)
OKLCHoklch(82.83% 0.161 116)
XYZxyz(46.7132, 58.5264, 14.9655)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D348 #5948D3
analogous
#D39E48 #C2D348 #7CD348
triadic
#C2D348 #48C2D3 #D348C2
tetradic
#C2D348 #48D39E #5948D3 #D3487C
square
#C2D348 #48D39E #5948D3 #D3487C
split-complementary
#C2D348 #487CD3 #9E48D3
monochromatic
#75811F #A2B32B #C2D348 #D2DF79 #E3EBAB

Accessibility & contrast

On white

1.65
#C2D348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#C2D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D348
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D348#FFFFFF#000000##000000
##C2D3481.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C834
Deuteranopia (green-blind)
#E0CA52
Tritanopia (blue-blind)
#CEC7B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d348;
/* rgb */ color: rgb(194, 211, 72);
/* oklch */ color: oklch(82.8% 0.161 116.0);
Tailwind
colors: {
  custom: {
    50: '#d8e082',
    500: '#c2d348',
    950: '#000000',
  },
}
SCSS
$custom: #c2d348;
$custom-light: #d8e082;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d348",
  "rgb": {
    "r": 194,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 67.338,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82834,
    "c": 0.16088,
    "h": 116
  },
  "luminance": 0.58526
}

Semantic roles & 50–950 ramp

primary
#C2D348
secondary
#413789
accent
#43E457
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C2D348

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

Preview Lab → · Contrast checker → · Palette generator →

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