#C6D340#C6D340

#C6D340 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.1% C 0.165 H 114.4°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#C6D340
RGBrgb(198, 211, 64)
HSLhsl(65, 63%, 54%)
HSVhsv(65, 70%, 83%)
CMYKcmyk(6.2%, 0%, 69.7%, 17.3%)
CIE-LABlab(81.27, -22.47, 67.42)
CIE-LCHlch(81.27, 71.07, 108.43°)
OKLaboklab(83.08% -0.0682 0.1503)
OKLCHoklch(83.08% 0.165 114.4)
XYZxyz(47.5097, 58.9653, 13.7282)
Luminance0.5896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D340 #4D40D3
analogous
#D39740 #C6D340 #7DD340
triadic
#C6D340 #40C6D3 #D340C6
tetradic
#C6D340 #40D397 #4D40D3 #D3407D
square
#C6D340 #40D397 #4D40D3 #D3407D
split-complementary
#C6D340 #407DD3 #9740D3
monochromatic
#747C1D #A2AE28 #C6D340 #D5DE72 #E4EAA3

Accessibility & contrast

On white

1.64
#C6D340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#C6D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D340
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D340#FFFFFF#000000##000000
##C6D3401.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#E1CB4B
Tritanopia (blue-blind)
#D3C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c6d340;
/* rgb */ color: rgb(198, 211, 64);
/* oklch */ color: oklch(83.1% 0.165 114.4);
Tailwind
colors: {
  custom: {
    50: '#dbe07e',
    500: '#c6d340',
    950: '#000000',
  },
}
SCSS
$custom: #c6d340;
$custom-light: #dbe07e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d340",
  "rgb": {
    "r": 198,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 65.306,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83084,
    "c": 0.16503,
    "h": 114.4
  },
  "luminance": 0.58964
}

Semantic roles & 50–950 ramp

primary
#C6D340
secondary
#3B3384
accent
#42E651
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6D340

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

Preview Lab → · Contrast checker → · Palette generator →

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