#C7DD51#C7DD51

#C7DD51 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.5% C 0.164 H 117.6°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#C7DD51
RGBrgb(199, 221, 81)
HSLhsl(69, 67%, 59%)
HSVhsv(69, 63%, 87%)
CMYKcmyk(10%, 0%, 63.3%, 13.3%)
CIE-LABlab(84.20, -25.87, 63.93)
CIE-LCHlch(84.20, 68.97, 112.03°)
OKLaboklab(85.49% -0.0761 0.1455)
OKLCHoklch(85.49% 0.164 117.6)
XYZxyz(50.8958, 64.4496, 17.5418)
Luminance0.6445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DD51 #6751DD
analogous
#DDAD51 #C7DD51 #81DD51
triadic
#C7DD51 #51C7DD #DD51C7
tetradic
#C7DD51 #51DDAD #6751DD #DD5181
square
#C7DD51 #51DDAD #6751DD #DD5181
split-complementary
#C7DD51 #5181DD #AD51DD
monochromatic
#83961D #B0C927 #C7DD51 #D7E784 #E8F1B7

Accessibility & contrast

On white

1.51
#C7DD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#C7DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DD51
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DD51#FFFFFF#000000##000000
##C7DD511.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#D2D1C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c7dd51;
/* rgb */ color: rgb(199, 221, 81);
/* oklch */ color: oklch(85.5% 0.164 117.6);
Tailwind
colors: {
  custom: {
    50: '#dbe788',
    500: '#c7dd51',
    950: '#000000',
  },
}
SCSS
$custom: #c7dd51;
$custom-light: #dbe788;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dd51",
  "rgb": {
    "r": 199,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 69.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85489,
    "c": 0.16418,
    "h": 117.6
  },
  "luminance": 0.64449
}

Semantic roles & 50–950 ramp

primary
#C7DD51
secondary
#47389B
accent
#3EEA59
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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