#D7DD40#D7DD40

#D7DD40 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.6% C 0.171 H 111.7°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#D7DD40
RGBrgb(215, 221, 64)
HSLhsl(62, 70%, 56%)
HSVhsv(62, 71%, 87%)
CMYKcmyk(2.7%, 0%, 71%, 13.3%)
CIE-LABlab(85.27, -20.32, 71.76)
CIE-LCHlch(85.27, 74.58, 105.81°)
OKLaboklab(86.6% -0.0631 0.1589)
OKLCHoklch(86.6% 0.171 111.7)
XYZxyz(54.8080, 66.5315, 14.8042)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD40 #4640DD
analogous
#DD9440 #D7DD40 #88DD40
triadic
#D7DD40 #40D7DD #DD40D7
tetradic
#D7DD40 #40DD94 #4640DD #DD4088
square
#D7DD40 #40DD94 #4640DD #DD4088
split-complementary
#D7DD40 #4088DD #9440DD
monochromatic
#868A19 #B8BE22 #D7DD40 #E2E674 #EDEFA8

Accessibility & contrast

On white

1.47
#D7DD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#D7DD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD40
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD40#FFFFFF#000000##000000
##D7DD401.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED323
Deuteranopia (green-blind)
#EFD74C
Tritanopia (blue-blind)
#E6CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dd40;
/* rgb */ color: rgb(215, 221, 64);
/* oklch */ color: oklch(86.6% 0.171 111.7);
Tailwind
colors: {
  custom: {
    50: '#e7e77f',
    500: '#d7dd40',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd40;
$custom-light: #e7e77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd40",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 64
  },
  "hsl": {
    "h": 62.293,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86601,
    "c": 0.17098,
    "h": 111.7
  },
  "luminance": 0.6653
}

Semantic roles & 50–950 ramp

primary
#D7DD40
secondary
#353190
accent
#3BED42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D7DD40

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

Preview Lab → · Contrast checker → · Palette generator →

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