#C6D342#C6D342

#C6D342 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.1% C 0.164 H 114.4°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#C6D342
RGBrgb(198, 211, 66)
HSLhsl(65, 62%, 54%)
HSVhsv(65, 69%, 83%)
CMYKcmyk(6.2%, 0%, 68.7%, 17.3%)
CIE-LABlab(81.29, -22.36, 66.71)
CIE-LCHlch(81.29, 70.36, 108.53°)
OKLaboklab(83.1% -0.0677 0.1491)
OKLCHoklch(83.1% 0.164 114.4)
XYZxyz(47.5676, 58.9885, 14.0333)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D342 #4F42D3
analogous
#D39742 #C6D342 #7ED342
triadic
#C6D342 #42C6D3 #D342C6
tetradic
#C6D342 #42D397 #4F42D3 #D3427E
square
#C6D342 #42D397 #4F42D3 #D3427E
split-complementary
#C6D342 #427ED3 #9742D3
monochromatic
#757D1D #A3AF29 #C6D342 #D5DF74 #E4EAA5

Accessibility & contrast

On white

1.64
#C6D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#C6D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D342
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D342#FFFFFF#000000##000000
##C6D3421.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92B
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#D3C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c6d342;
/* rgb */ color: rgb(198, 211, 66);
/* oklch */ color: oklch(83.1% 0.164 114.4);
Tailwind
colors: {
  custom: {
    50: '#dbe07f',
    500: '#c6d342',
    950: '#000000',
  },
}
SCSS
$custom: #c6d342;
$custom-light: #dbe07f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d342",
  "rgb": {
    "r": 198,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 65.379,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83099,
    "c": 0.16375,
    "h": 114.4
  },
  "luminance": 0.58988
}

Semantic roles & 50–950 ramp

primary
#C6D342
secondary
#3B3485
accent
#42E551
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6D342

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

Preview Lab → · Contrast checker → · Palette generator →

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