#C6D151#C6D151

#C6D151 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.8% C 0.151 H 113.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#C6D151
RGBrgb(198, 209, 81)
HSLhsl(65, 58%, 57%)
HSVhsv(65, 61%, 82%)
CMYKcmyk(5.3%, 0%, 61.2%, 18%)
CIE-LABlab(80.85, -20.47, 60.33)
CIE-LCHlch(80.85, 63.71, 108.74°)
OKLaboklab(82.79% -0.0609 0.1379)
OKLCHoklch(82.79% 0.151 113.8)
XYZxyz(47.5755, 58.2016, 16.5108)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6D151 #5C51D1
analogous
#D19C51 #C6D151 #86D151
triadic
#C6D151 #51C6D1 #D151C6
tetradic
#C6D151 #51D19C #5C51D1 #D15186
square
#C6D151 #51D19C #5C51D1 #D15186
split-complementary
#C6D151 #5186D1 #9C51D1
monochromatic
#7C8523 #AAB530 #C6D151 #D6DE81 #E6EBB2

Accessibility & contrast

On white

1.66
#C6D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#C6D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6D151
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6D151#FFFFFF#000000##000000
##C6D1511.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#D2C5B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c6d151;
/* rgb */ color: rgb(198, 209, 81);
/* oklch */ color: oklch(82.8% 0.151 113.8);
Tailwind
colors: {
  custom: {
    50: '#dadf87',
    500: '#c6d151',
    950: '#000000',
  },
}
SCSS
$custom: #c6d151;
$custom-light: #dadf87;
$custom-dark: #000000;
JSON
{
  "hex": "#c6d151",
  "rgb": {
    "r": 198,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 65.156,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82786,
    "c": 0.15074,
    "h": 113.8
  },
  "luminance": 0.58201
}

Semantic roles & 50–950 ramp

primary
#C6D151
secondary
#423B8B
accent
#46E154
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C6D151

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

Preview Lab → · Contrast checker → · Palette generator →

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