#C6D240#C6D240

#C6D240 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 82.9% C 0.164 H 114.1°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#C6D240
RGBrgb(198, 210, 64)
HSLhsl(65, 62%, 54%)
HSVhsv(65, 70%, 82%)
CMYKcmyk(5.7%, 0%, 69.5%, 17.6%)
CIE-LABlab(81.00, -21.98, 67.15)
CIE-LCHlch(81.00, 70.66, 108.12°)
OKLaboklab(82.87% -0.0668 0.1497)
OKLCHoklch(82.87% 0.164 114.1)
XYZxyz(47.2620, 58.4700, 13.6456)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D240 #4C40D2
analogous
#D29540 #C6D240 #7DD240
triadic
#C6D240 #40C6D2 #D240C6
tetradic
#C6D240 #40D295 #4C40D2 #D2407D
square
#C6D240 #40D295 #4C40D2 #D2407D
split-complementary
#C6D240 #407DD2 #9540D2
monochromatic
#737B1D #A1AC29 #C6D240 #D5DE72 #E4E9A3

Accessibility & contrast

On white

1.65
#C6D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#C6D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D240
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D240#FFFFFF#000000##000000
##C6D2401.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C827
Deuteranopia (green-blind)
#E1CB4B
Tritanopia (blue-blind)
#D3C6B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c6d240;
/* rgb */ color: rgb(198, 210, 64);
/* oklch */ color: oklch(82.9% 0.164 114.1);
Tailwind
colors: {
  custom: {
    50: '#dbdf7e',
    500: '#c6d240',
    950: '#000000',
  },
}
SCSS
$custom: #c6d240;
$custom-light: #dbdf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d240",
  "rgb": {
    "r": 198,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 64.932,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82865,
    "c": 0.16395,
    "h": 114.1
  },
  "luminance": 0.58469
}

Semantic roles & 50–950 ramp

primary
#C6D240
secondary
#3A3483
accent
#43E550
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C6D240

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

Preview Lab → · Contrast checker → · Palette generator →

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