#C6DA51#C6DA51

#C6DA51 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.8% C 0.161 H 117.0°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#C6DA51
RGBrgb(198, 218, 81)
HSLhsl(69, 65%, 59%)
HSVhsv(69, 63%, 85%)
CMYKcmyk(9.2%, 0%, 62.8%, 14.5%)
CIE-LABlab(83.31, -24.83, 62.96)
CIE-LCHlch(83.31, 67.68, 111.53°)
OKLaboklab(84.76% -0.0732 0.1434)
OKLCHoklch(84.76% 0.161 117)
XYZxyz(49.8463, 62.7432, 17.2677)
Luminance0.6274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6DA51 #6551DA
analogous
#DAA951 #C6DA51 #81DA51
triadic
#C6DA51 #51C6DA #DA51C6
tetradic
#C6DA51 #51DAA9 #6551DA #DA5181
square
#C6DA51 #51DAA9 #6551DA #DA5181
split-complementary
#C6DA51 #5181DA #A951DA
monochromatic
#81921F #AEC42A #C6DA51 #D7E583 #E7EFB6

Accessibility & contrast

On white

1.55
#C6DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#C6DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6DA51
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6DA51#FFFFFF#000000##000000
##C6DA511.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF40
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#D1CEBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c6da51;
/* rgb */ color: rgb(198, 218, 81);
/* oklch */ color: oklch(84.8% 0.161 117.0);
Tailwind
colors: {
  custom: {
    50: '#dae588',
    500: '#c6da51',
    950: '#000000',
  },
}
SCSS
$custom: #c6da51;
$custom-light: #dae588;
$custom-dark: #000000;
JSON
{
  "hex": "#c6da51",
  "rgb": {
    "r": 198,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 68.759,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84755,
    "c": 0.16103,
    "h": 117
  },
  "luminance": 0.62743
}

Semantic roles & 50–950 ramp

primary
#C6DA51
secondary
#463997
accent
#40E858
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C6DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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