#C6D740#C6D740

#C6D740 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.0% C 0.169 H 115.7°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#C6D740
RGBrgb(198, 215, 64)
HSLhsl(67, 65%, 55%)
HSVhsv(67, 70%, 84%)
CMYKcmyk(7.9%, 0%, 70.2%, 15.7%)
CIE-LABlab(82.37, -24.40, 68.50)
CIE-LCHlch(82.37, 72.72, 109.61°)
OKLaboklab(83.96% -0.0736 0.1526)
OKLCHoklch(83.96% 0.169 115.7)
XYZxyz(48.5158, 60.9775, 14.0636)
Luminance0.6098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D740 #5140D7
analogous
#D79D40 #C6D740 #7BD740
triadic
#C6D740 #40C6D7 #D740C6
tetradic
#C6D740 #40D79D #5140D7 #D7407B
square
#C6D740 #40D79D #5140D7 #D7407B
split-complementary
#C6D740 #407BD7 #9D40D7
monochromatic
#76811B #A4B426 #C6D740 #D5E273 #E4ECA5

Accessibility & contrast

On white

1.59
#C6D740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#C6D740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D740
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D740#FFFFFF#000000##000000
##C6D7401.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC26
Deuteranopia (green-blind)
#E5CE4C
Tritanopia (blue-blind)
#D2CBB9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c6d740;
/* rgb */ color: rgb(198, 215, 64);
/* oklch */ color: oklch(84.0% 0.169 115.7);
Tailwind
colors: {
  custom: {
    50: '#dbe37e',
    500: '#c6d740',
    950: '#000000',
  },
}
SCSS
$custom: #c6d740;
$custom-light: #dbe37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d740",
  "rgb": {
    "r": 198,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 66.755,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83962,
    "c": 0.16937,
    "h": 115.7
  },
  "luminance": 0.60977
}

Semantic roles & 50–950 ramp

primary
#C6D740
secondary
#3C3388
accent
#3FE852
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6D740

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

Preview Lab → · Contrast checker → · Palette generator →

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