#D7DD57#D7DD57

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

Color values

HEX#D7DD57
RGBrgb(215, 221, 87)
HSLhsl(63, 66%, 60%)
HSVhsv(63, 61%, 87%)
CMYKcmyk(2.7%, 0%, 60.6%, 13.3%)
CIE-LABlab(85.43, -19.02, 63.13)
CIE-LCHlch(85.43, 65.94, 106.76°)
OKLaboklab(86.78% -0.0572 0.1442)
OKLCHoklch(86.78% 0.155 111.6)
XYZxyz(55.6026, 66.8494, 18.9892)
Luminance0.6685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD57 #5D57DD
analogous
#DDA057 #D7DD57 #94DD57
triadic
#D7DD57 #57D7DD #DD57D7
tetradic
#D7DD57 #57DDA0 #5D57DD #DD5794
square
#D7DD57 #57DDA0 #5D57DD #DD5794
split-complementary
#D7DD57 #5794DD #A057DD
monochromatic
#959A1F #C6CD2A #D7DD57 #E3E78A #EFF2BD

Accessibility & contrast

On white

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

On black

14.37
#D7DD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD57
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD57#FFFFFF#000000##000000
##D7DD571.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD447
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#E5D0C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dd57;
/* rgb */ color: rgb(215, 221, 87);
/* oklch */ color: oklch(86.8% 0.155 111.6);
Tailwind
colors: {
  custom: {
    50: '#e6e78c',
    500: '#d7dd57',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd57;
$custom-light: #e6e78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd57",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 62.687,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86781,
    "c": 0.15518,
    "h": 111.6
  },
  "luminance": 0.66848
}

Semantic roles & 50–950 ramp

primary
#D7DD57
secondary
#3E3A9E
accent
#17CE1F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D7DD57

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

Preview Lab → · Contrast checker → · Palette generator →

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