#C6D942#C6D942

#C6D942 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.4% C 0.170 H 116.4°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#C6D942
RGBrgb(198, 217, 66)
HSLhsl(68, 67%, 55%)
HSVhsv(68, 70%, 85%)
CMYKcmyk(8.8%, 0%, 69.6%, 14.9%)
CIE-LABlab(82.93, -25.26, 68.34)
CIE-LCHlch(82.93, 72.86, 110.28°)
OKLaboklab(84.42% -0.0758 0.1525)
OKLCHoklch(84.42% 0.17 116.4)
XYZxyz(49.0861, 62.0255, 14.5395)
Luminance0.6202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D942 #5542D9
analogous
#D9A142 #C6D942 #7AD942
triadic
#C6D942 #42C6D9 #D942C6
tetradic
#C6D942 #42D9A1 #5542D9 #D9427A
square
#C6D942 #42D9A1 #5542D9 #D9427A
split-complementary
#C6D942 #427AD9 #A142D9
monochromatic
#78861B #A6B925 #C6D942 #D5E375 #E5EDA8

Accessibility & contrast

On white

1.57
#C6D942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#C6D942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D942
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D942#FFFFFF#000000##000000
##C6D9421.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE29
Deuteranopia (green-blind)
#E6D04E
Tritanopia (blue-blind)
#D2CDBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c6d942;
/* rgb */ color: rgb(198, 217, 66);
/* oklch */ color: oklch(84.4% 0.170 116.4);
Tailwind
colors: {
  custom: {
    50: '#dbe480',
    500: '#c6d942',
    950: '#000000',
  },
}
SCSS
$custom: #c6d942;
$custom-light: #dbe480;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d942",
  "rgb": {
    "r": 198,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 67.55,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84416,
    "c": 0.17031,
    "h": 116.4
  },
  "luminance": 0.62025
}

Semantic roles & 50–950 ramp

primary
#C6D942
secondary
#3E338C
accent
#3EE954
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6D942

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

Preview Lab → · Contrast checker → · Palette generator →

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