#C7DC51#C7DC51

#C7DC51 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.3% C 0.163 H 117.3°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#C7DC51
RGBrgb(199, 220, 81)
HSLhsl(69, 67%, 59%)
HSVhsv(69, 63%, 86%)
CMYKcmyk(9.5%, 0%, 63.2%, 13.7%)
CIE-LABlab(83.93, -25.39, 63.64)
CIE-LCHlch(83.93, 68.52, 111.75°)
OKLaboklab(85.27% -0.0748 0.1449)
OKLCHoklch(85.27% 0.163 117.3)
XYZxyz(50.6326, 63.9231, 17.4541)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC51 #6651DC
analogous
#DCAC51 #C7DC51 #82DC51
triadic
#C7DC51 #51C7DC #DC51C7
tetradic
#C7DC51 #51DCAC #6651DC #DC5182
square
#C7DC51 #51DCAC #6651DC #DC5182
split-complementary
#C7DC51 #5182DC #AC51DC
monochromatic
#83951E #B0C828 #C7DC51 #D7E684 #E8F0B7

Accessibility & contrast

On white

1.52
#C7DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#C7DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC51
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC51#FFFFFF#000000##000000
##C7DC511.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13F
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#D2D0BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7dc51;
/* rgb */ color: rgb(199, 220, 81);
/* oklch */ color: oklch(85.3% 0.163 117.3);
Tailwind
colors: {
  custom: {
    50: '#dbe688',
    500: '#c7dc51',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc51;
$custom-light: #dbe688;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc51",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 69.065,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85269,
    "c": 0.16302,
    "h": 117.3
  },
  "luminance": 0.63923
}

Semantic roles & 50–950 ramp

primary
#C7DC51
secondary
#473899
accent
#3EE958
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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