#C6D540#C6D540

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

Color values

HEX#C6D540
RGBrgb(198, 213, 64)
HSLhsl(66, 64%, 54%)
HSVhsv(66, 70%, 84%)
CMYKcmyk(7%, 0%, 70%, 16.5%)
CIE-LABlab(81.82, -23.44, 67.96)
CIE-LCHlch(81.82, 71.89, 109.03°)
OKLaboklab(83.52% -0.0709 0.1514)
OKLCHoklch(83.52% 0.167 115.1)
XYZxyz(48.0096, 59.9652, 13.8948)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D540 #4F40D5
analogous
#D59940 #C6D540 #7CD540
triadic
#C6D540 #40C6D5 #D540C6
tetradic
#C6D540 #40D599 #4F40D5 #D5407C
square
#C6D540 #40D599 #4F40D5 #D5407C
split-complementary
#C6D540 #407CD5 #9940D5
monochromatic
#757F1C #A3B127 #C6D540 #D5E072 #E4EBA4

Accessibility & contrast

On white

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

On black

12.99
#C6D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D540
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D540#FFFFFF#000000##000000
##C6D5401.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6d540;
/* rgb */ color: rgb(198, 213, 64);
/* oklch */ color: oklch(83.5% 0.167 115.1);
Tailwind
colors: {
  custom: {
    50: '#dbe17e',
    500: '#c6d540',
    950: '#000000',
  },
}
SCSS
$custom: #c6d540;
$custom-light: #dbe17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d540",
  "rgb": {
    "r": 198,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 66.04,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83523,
    "c": 0.16718,
    "h": 115.1
  },
  "luminance": 0.59964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6D540

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

Preview Lab → · Contrast checker → · Palette generator →

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