#D7DD3E#D7DD3E

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

Color values

HEX#D7DD3E
RGBrgb(215, 221, 62)
HSLhsl(62, 70%, 55%)
HSVhsv(62, 72%, 87%)
CMYKcmyk(2.7%, 0%, 71.9%, 13.3%)
CIE-LABlab(85.26, -20.42, 72.42)
CIE-LCHlch(85.26, 75.25, 105.74°)
OKLaboklab(86.59% -0.0636 0.16)
OKLCHoklch(86.59% 0.172 111.7)
XYZxyz(54.7521, 66.5092, 14.5098)
Luminance0.6651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD3E #443EDD
analogous
#DD933E #D7DD3E #87DD3E
triadic
#D7DD3E #3ED7DD #DD3ED7
tetradic
#D7DD3E #3EDD93 #443EDD #DD3E87
square
#D7DD3E #3EDD93 #443EDD #DD3E87
split-complementary
#D7DD3E #3E87DD #933EDD
monochromatic
#848918 #B7BD21 #D7DD3E #E2E672 #EDEFA6

Accessibility & contrast

On white

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

On black

14.30
#D7DD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD3E
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD3E#FFFFFF#000000##000000
##D7DD3E1.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7dd3e;
/* rgb */ color: rgb(215, 221, 62);
/* oklch */ color: oklch(86.6% 0.172 111.7);
Tailwind
colors: {
  custom: {
    50: '#e7e77e',
    500: '#d7dd3e',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd3e;
$custom-light: #e7e77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd3e",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 62
  },
  "hsl": {
    "h": 62.264,
    "s": 70.044,
    "l": 55.49
  },
  "oklch": {
    "l": 0.86588,
    "c": 0.17214,
    "h": 111.7
  },
  "luminance": 0.66508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7DD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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