#C6D742#C6D742

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

Color values

HEX#C6D742
RGBrgb(198, 215, 66)
HSLhsl(67, 65%, 55%)
HSVhsv(67, 69%, 84%)
CMYKcmyk(7.9%, 0%, 69.3%, 15.7%)
CIE-LABlab(82.38, -24.30, 67.80)
CIE-LCHlch(82.38, 72.02, 109.72°)
OKLaboklab(83.98% -0.0731 0.1514)
OKLCHoklch(83.98% 0.168 115.8)
XYZxyz(48.5737, 61.0007, 14.3687)
Luminance0.6100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D742 #5342D7
analogous
#D79E42 #C6D742 #7BD742
triadic
#C6D742 #42C6D7 #D742C6
tetradic
#C6D742 #42D79E #5342D7 #D7427B
square
#C6D742 #42D79E #5342D7 #D7427B
split-complementary
#C6D742 #427BD7 #9E42D7
monochromatic
#77831C #A5B526 #C6D742 #D5E275 #E4ECA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6D742#FFFFFF#000000##000000
##C6D7421.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)
#E6CC29
Deuteranopia (green-blind)
#E5CE4E
Tritanopia (blue-blind)
#D2CBBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c6d742;
/* rgb */ color: rgb(198, 215, 66);
/* oklch */ color: oklch(84.0% 0.168 115.8);
Tailwind
colors: {
  custom: {
    50: '#dbe37f',
    500: '#c6d742',
    950: '#000000',
  },
}
SCSS
$custom: #c6d742;
$custom-light: #dbe37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d742",
  "rgb": {
    "r": 198,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 66.846,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83976,
    "c": 0.16811,
    "h": 115.8
  },
  "luminance": 0.61
}

Semantic roles & 50–950 ramp

primary
#C6D742
secondary
#3D348A
accent
#40E853
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C6D742

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

Preview Lab → · Contrast checker → · Palette generator →

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