#D7DD51#D7DD51

#D7DD51 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.7% C 0.160 H 111.6°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#D7DD51
RGBrgb(215, 221, 81)
HSLhsl(63, 67%, 59%)
HSVhsv(63, 63%, 87%)
CMYKcmyk(2.7%, 0%, 63.3%, 13.3%)
CIE-LABlab(85.38, -19.40, 65.54)
CIE-LCHlch(85.38, 68.35, 106.49°)
OKLaboklab(86.73% -0.0589 0.1485)
OKLCHoklch(86.73% 0.16 111.6)
XYZxyz(55.3676, 66.7553, 17.7514)
Luminance0.6675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD51 #5751DD
analogous
#DD9D51 #D7DD51 #91DD51
triadic
#D7DD51 #51D7DD #DD51D7
tetradic
#D7DD51 #51DD9D #5751DD #DD5191
square
#D7DD51 #51DD9D #5751DD #DD5191
split-complementary
#D7DD51 #5191DD #9D51DD
monochromatic
#91961D #C2C927 #D7DD51 #E3E784 #EFF1B7

Accessibility & contrast

On white

1.46
#D7DD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#D7DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD51
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD51#FFFFFF#000000##000000
##D7DD511.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33F
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#E5D0C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dd51;
/* rgb */ color: rgb(215, 221, 81);
/* oklch */ color: oklch(86.7% 0.160 111.6);
Tailwind
colors: {
  custom: {
    50: '#e6e788',
    500: '#d7dd51',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd51;
$custom-light: #e6e788;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd51",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 62.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86728,
    "c": 0.15974,
    "h": 111.6
  },
  "luminance": 0.66754
}

Semantic roles & 50–950 ramp

primary
#D7DD51
secondary
#3C389B
accent
#3EEA45
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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