#C6DC52#C6DC52

#C6DC52 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.2% C 0.163 H 117.7°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#C6DC52
RGBrgb(198, 220, 82)
HSLhsl(70, 66%, 59%)
HSVhsv(70, 63%, 86%)
CMYKcmyk(10%, 0%, 62.7%, 13.7%)
CIE-LABlab(83.86, -25.73, 63.15)
CIE-LCHlch(83.86, 68.19, 112.17°)
OKLaboklab(85.2% -0.0756 0.144)
OKLCHoklch(85.2% 0.163 117.7)
XYZxyz(50.4058, 63.8018, 17.6406)
Luminance0.6380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DC52 #6852DC
analogous
#DCAD52 #C6DC52 #81DC52
triadic
#C6DC52 #52C6DC #DC52C6
tetradic
#C6DC52 #52DCAD #6852DC #DC5281
square
#C6DC52 #52DCAD #6852DC #DC5281
split-complementary
#C6DC52 #5281DC #AD52DC
monochromatic
#82951E #AFC829 #C6DC52 #D7E685 #E8F1B8

Accessibility & contrast

On white

1.53
#C6DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#C6DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6DC52
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6DC52#FFFFFF#000000##000000
##C6DC521.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#D1D1BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c6dc52;
/* rgb */ color: rgb(198, 220, 82);
/* oklch */ color: oklch(85.2% 0.163 117.7);
Tailwind
colors: {
  custom: {
    50: '#dae689',
    500: '#c6dc52',
    950: '#000000',
  },
}
SCSS
$custom: #c6dc52;
$custom-light: #dae689;
$custom-dark: #000000;
JSON
{
  "hex": "#c6dc52",
  "rgb": {
    "r": 198,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 69.565,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85203,
    "c": 0.16259,
    "h": 117.7
  },
  "luminance": 0.63801
}

Semantic roles & 50–950 ramp

primary
#C6DC52
secondary
#48389A
accent
#3FE95A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C6DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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