#C6D951#C6D951

#C6D951 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.5% C 0.160 H 116.7°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#C6D951
RGBrgb(198, 217, 81)
HSLhsl(68, 64%, 58%)
HSVhsv(68, 63%, 85%)
CMYKcmyk(8.8%, 0%, 62.7%, 14.9%)
CIE-LABlab(83.03, -24.35, 62.67)
CIE-LCHlch(83.03, 67.24, 111.24°)
OKLaboklab(84.54% -0.0718 0.1428)
OKLCHoklch(84.54% 0.16 116.7)
XYZxyz(49.5878, 62.2262, 17.1816)
Luminance0.6223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D951 #6451D9
analogous
#D9A851 #C6D951 #82D951
triadic
#C6D951 #51C6D9 #D951C6
tetradic
#C6D951 #51D9A8 #6451D9 #D95182
square
#C6D951 #51D9A8 #6451D9 #D95182
split-complementary
#C6D951 #5182D9 #A851D9
monochromatic
#80901F #ADC22A #C6D951 #D6E483 #E7EFB5

Accessibility & contrast

On white

1.56
#C6D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#C6D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D951
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D951#FFFFFF#000000##000000
##C6D9511.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E5D05A
Tritanopia (blue-blind)
#D2CDBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c6d951;
/* rgb */ color: rgb(198, 217, 81);
/* oklch */ color: oklch(84.5% 0.160 116.7);
Tailwind
colors: {
  custom: {
    50: '#dae488',
    500: '#c6d951',
    950: '#000000',
  },
}
SCSS
$custom: #c6d951;
$custom-light: #dae488;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d951",
  "rgb": {
    "r": 198,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 68.382,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84535,
    "c": 0.15987,
    "h": 116.7
  },
  "luminance": 0.62226
}

Semantic roles & 50–950 ramp

primary
#C6D951
secondary
#463995
accent
#41E758
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C6D951

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

Preview Lab → · Contrast checker → · Palette generator →

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