#D2DE38#D2DE38

#D2DE38 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.4% C 0.178 H 113.8°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#D2DE38
RGBrgb(210, 222, 56)
HSLhsl(64, 72%, 55%)
HSVhsv(64, 75%, 87%)
CMYKcmyk(5.4%, 0%, 74.8%, 12.9%)
CIE-LABlab(85.11, -23.22, 74.09)
CIE-LCHlch(85.11, 77.64, 107.40°)
OKLaboklab(86.37% -0.0716 0.1626)
OKLCHoklch(86.37% 0.178 113.8)
XYZxyz(53.4151, 66.2308, 13.7106)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DE38 #4438DE
analogous
#DE9738 #D2DE38 #7FDE38
triadic
#D2DE38 #38D2DE #DE38D2
tetradic
#D2DE38 #38DE97 #4438DE #DE387F
square
#D2DE38 #38DE97 #4438DE #DE387F
split-complementary
#D2DE38 #387FDE #9738DE
monochromatic
#7D8516 #AFBA1F #D2DE38 #DEE76C #EAEFA1

Accessibility & contrast

On white

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

On black

14.25
#D2DE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DE38
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DE38#FFFFFF#000000##000000
##D2DE381.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED30D
Deuteranopia (green-blind)
#EED646
Tritanopia (blue-blind)
#E0D1BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d2de38;
/* rgb */ color: rgb(210, 222, 56);
/* oklch */ color: oklch(86.4% 0.178 113.8);
Tailwind
colors: {
  custom: {
    50: '#e4e87b',
    500: '#d2de38',
    950: '#000000',
  },
}
SCSS
$custom: #d2de38;
$custom-light: #e4e87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2de38",
  "rgb": {
    "r": 210,
    "g": 222,
    "b": 56
  },
  "hsl": {
    "h": 64.337,
    "s": 71.552,
    "l": 54.51
  },
  "oklch": {
    "l": 0.86372,
    "c": 0.17771,
    "h": 113.8
  },
  "luminance": 0.6623
}

Semantic roles & 50–950 ramp

primary
#D2DE38
secondary
#352E8C
accent
#3AEE47
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160A
muted
#85847D

Preview Lab

Preview with #D2DE38

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

Preview Lab → · Contrast checker → · Palette generator →

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