#C6D542#C6D542

#C6D542 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.5% C 0.166 H 115.1°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#C6D542
RGBrgb(198, 213, 66)
HSLhsl(66, 64%, 55%)
HSVhsv(66, 69%, 84%)
CMYKcmyk(7%, 0%, 69%, 16.5%)
CIE-LABlab(81.83, -23.33, 67.25)
CIE-LCHlch(81.83, 71.18, 109.13°)
OKLaboklab(83.54% -0.0704 0.1502)
OKLCHoklch(83.54% 0.166 115.1)
XYZxyz(48.0676, 59.9884, 14.2000)
Luminance0.5999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D542 #5142D5
analogous
#D59A42 #C6D542 #7DD542
triadic
#C6D542 #42C6D5 #D542C6
tetradic
#C6D542 #42D59A #5142D5 #D5427D
square
#C6D542 #42D59A #5142D5 #D5427D
split-complementary
#C6D542 #427DD5 #9A42D5
monochromatic
#76801C #A4B228 #C6D542 #D5E074 #E4EBA6

Accessibility & contrast

On white

1.62
#C6D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#C6D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D542
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D542#FFFFFF#000000##000000
##C6D5421.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA2A
Deuteranopia (green-blind)
#E3CD4D
Tritanopia (blue-blind)
#D3C9B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c6d542;
/* rgb */ color: rgb(198, 213, 66);
/* oklch */ color: oklch(83.5% 0.166 115.1);
Tailwind
colors: {
  custom: {
    50: '#dbe17f',
    500: '#c6d542',
    950: '#000000',
  },
}
SCSS
$custom: #c6d542;
$custom-light: #dbe17f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d542",
  "rgb": {
    "r": 198,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 66.122,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83537,
    "c": 0.16592,
    "h": 115.1
  },
  "luminance": 0.59988
}

Semantic roles & 50–950 ramp

primary
#C6D542
secondary
#3C3487
accent
#41E752
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6D542

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

Preview Lab → · Contrast checker → · Palette generator →

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