#C6DC42#C6DC42

#C6DC42 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.1% C 0.174 H 117.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#C6DC42
RGBrgb(198, 220, 66)
HSLhsl(69, 69%, 56%)
HSVhsv(69, 70%, 86%)
CMYKcmyk(10%, 0%, 70%, 13.7%)
CIE-LABlab(83.75, -26.69, 69.15)
CIE-LCHlch(83.75, 74.12, 111.10°)
OKLaboklab(85.08% -0.0797 0.1542)
OKLCHoklch(85.08% 0.174 117.3)
XYZxyz(49.8664, 63.5861, 14.7996)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DC42 #5842DC
analogous
#DCA542 #C6DC42 #79DC42
triadic
#C6DC42 #42C6DC #DC42C6
tetradic
#C6DC42 #42DCA5 #5842DC #DC4279
square
#C6DC42 #42DCA5 #5842DC #DC4279
split-complementary
#C6DC42 #4279DC #A542DC
monochromatic
#7A8A1A #A8BE23 #C6DC42 #D6E676 #E5EFA9

Accessibility & contrast

On white

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

On black

13.72
#C6DC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6DC42
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6DC42#FFFFFF#000000##000000
##C6DC421.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD027
Deuteranopia (green-blind)
#E9D24E
Tritanopia (blue-blind)
#D2D0BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c6dc42;
/* rgb */ color: rgb(198, 220, 66);
/* oklch */ color: oklch(85.1% 0.174 117.3);
Tailwind
colors: {
  custom: {
    50: '#dbe680',
    500: '#c6dc42',
    950: '#000000',
  },
}
SCSS
$custom: #c6dc42;
$custom-light: #dbe680;
$custom-dark: #000000;
JSON
{
  "hex": "#c6dc42",
  "rgb": {
    "r": 198,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 68.571,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85077,
    "c": 0.17364,
    "h": 117.3
  },
  "luminance": 0.63586
}

Semantic roles & 50–950 ramp

primary
#C6DC42
secondary
#403290
accent
#3CEC55
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C6DC42

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

Preview Lab → · Contrast checker → · Palette generator →

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