#D7DD34#D7DD34

#D7DD34 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.5% C 0.177 H 111.7°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#D7DD34
RGBrgb(215, 221, 52)
HSLhsl(62, 71%, 54%)
HSVhsv(62, 76%, 87%)
CMYKcmyk(2.7%, 0%, 76.5%, 13.3%)
CIE-LABlab(85.20, -20.83, 75.52)
CIE-LCHlch(85.20, 78.34, 105.42°)
OKLaboklab(86.53% -0.0656 0.1648)
OKLCHoklch(86.53% 0.177 111.7)
XYZxyz(54.5025, 66.4093, 13.1954)
Luminance0.6641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD34 #3A34DD
analogous
#DD8E34 #D7DD34 #82DD34
triadic
#D7DD34 #34D7DD #DD34D7
tetradic
#D7DD34 #34DD8E #3A34DD #DD3482
square
#D7DD34 #34DD8E #3A34DD #DD3482
split-complementary
#D7DD34 #3482DD #8E34DD
monochromatic
#7D8116 #B0B51E #D7DD34 #E1E668 #ECEF9D

Accessibility & contrast

On white

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

On black

14.28
#D7DD34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD34
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD34#FFFFFF#000000##000000
##D7DD341.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED300
Deuteranopia (green-blind)
#EFD743
Tritanopia (blue-blind)
#E6CFBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dd34;
/* rgb */ color: rgb(215, 221, 52);
/* oklch */ color: oklch(86.5% 0.177 111.7);
Tailwind
colors: {
  custom: {
    50: '#e7e77a',
    500: '#d7dd34',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd34;
$custom-light: #e7e77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd34",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 52
  },
  "hsl": {
    "h": 62.13,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.86532,
    "c": 0.17736,
    "h": 111.7
  },
  "luminance": 0.66408
}

Semantic roles & 50–950 ramp

primary
#D7DD34
secondary
#312D88
accent
#3AEE40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #D7DD34

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

Preview Lab → · Contrast checker → · Palette generator →

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