#C6D640#C6D640

#C6D640 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.7% C 0.168 H 115.4°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#C6D640
RGBrgb(198, 214, 64)
HSLhsl(66, 65%, 55%)
HSVhsv(66, 70%, 84%)
CMYKcmyk(7.5%, 0%, 70.1%, 16.1%)
CIE-LABlab(82.09, -23.92, 68.23)
CIE-LCHlch(82.09, 72.30, 109.32°)
OKLaboklab(83.74% -0.0722 0.152)
OKLCHoklch(83.74% 0.168 115.4)
XYZxyz(48.2619, 60.4698, 13.9789)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D640 #5040D6
analogous
#D69B40 #C6D640 #7BD640
triadic
#C6D640 #40C6D6 #D640C6
tetradic
#C6D640 #40D69B #5040D6 #D6407B
square
#C6D640 #40D69B #5040D6 #D6407B
split-complementary
#C6D640 #407BD6 #9B40D6
monochromatic
#75801B #A4B226 #C6D640 #D5E172 #E4ECA5

Accessibility & contrast

On white

1.60
#C6D640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#C6D640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D640
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D640#FFFFFF#000000##000000
##C6D6401.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E4CD4C
Tritanopia (blue-blind)
#D3CAB9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c6d640;
/* rgb */ color: rgb(198, 214, 64);
/* oklch */ color: oklch(83.7% 0.168 115.4);
Tailwind
colors: {
  custom: {
    50: '#dbe27e',
    500: '#c6d640',
    950: '#000000',
  },
}
SCSS
$custom: #c6d640;
$custom-light: #dbe27e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d640",
  "rgb": {
    "r": 198,
    "g": 214,
    "b": 64
  },
  "hsl": {
    "h": 66.4,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83742,
    "c": 0.16828,
    "h": 115.4
  },
  "luminance": 0.60469
}

Semantic roles & 50–950 ramp

primary
#C6D640
secondary
#3C3387
accent
#40E852
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6D640

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

Preview Lab → · Contrast checker → · Palette generator →

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