#C6D940#C6D940

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

Color values

HEX#C6D940
RGBrgb(198, 217, 64)
HSLhsl(67, 67%, 55%)
HSVhsv(67, 71%, 85%)
CMYKcmyk(8.8%, 0%, 70.5%, 14.9%)
CIE-LABlab(82.91, -25.36, 69.04)
CIE-LCHlch(82.91, 73.55, 110.17°)
OKLaboklab(84.4% -0.0762 0.1537)
OKLCHoklch(84.4% 0.172 116.4)
XYZxyz(49.0282, 62.0023, 14.2344)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D940 #5340D9
analogous
#D99F40 #C6D940 #79D940
triadic
#C6D940 #40C6D9 #D940C6
tetradic
#C6D940 #40D99F #5340D9 #D94079
square
#C6D940 #40D99F #5340D9 #D94079
split-complementary
#C6D940 #4079D9 #9F40D9
monochromatic
#77841A #A5B724 #C6D940 #D5E373 #E4EDA6

Accessibility & contrast

On white

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

On black

13.40
#C6D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D940
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D940#FFFFFF#000000##000000
##C6D9401.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6d940;
/* rgb */ color: rgb(198, 217, 64);
/* oklch */ color: oklch(84.4% 0.172 116.4);
Tailwind
colors: {
  custom: {
    50: '#dbe47f',
    500: '#c6d940',
    950: '#000000',
  },
}
SCSS
$custom: #c6d940;
$custom-light: #dbe47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d940",
  "rgb": {
    "r": 198,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 67.451,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84402,
    "c": 0.17155,
    "h": 116.4
  },
  "luminance": 0.62002
}

Semantic roles & 50–950 ramp

primary
#C6D940
secondary
#3D328B
accent
#3EEA53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6D940

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

Preview Lab → · Contrast checker → · Palette generator →

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