#D2DF37#D2DF37

#D2DF37 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.6% C 0.179 H 114.1°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#D2DF37
RGBrgb(210, 223, 55)
HSLhsl(65, 72%, 55%)
HSVhsv(65, 75%, 87%)
CMYKcmyk(5.8%, 0%, 75.3%, 12.5%)
CIE-LABlab(85.38, -23.74, 74.64)
CIE-LCHlch(85.38, 78.33, 107.65°)
OKLaboklab(86.58% -0.0732 0.1636)
OKLCHoklch(86.58% 0.179 114.1)
XYZxyz(53.6572, 66.7539, 13.6719)
Luminance0.6675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF37 #4437DF
analogous
#DF9837 #D2DF37 #7EDF37
triadic
#D2DF37 #37D2DF #DF37D2
tetradic
#D2DF37 #37DF98 #4437DF #DF377E
square
#D2DF37 #37DF98 #4437DF #DF377E
split-complementary
#D2DF37 #377EDF #9837DF
monochromatic
#7D8615 #AFBB1E #D2DF37 #DEE76C #EAF0A1

Accessibility & contrast

On white

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

On black

14.35
#D2DF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF37
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF37#FFFFFF#000000##000000
##D2DF371.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD407
Deuteranopia (green-blind)
#EFD746
Tritanopia (blue-blind)
#E0D2C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d2df37;
/* rgb */ color: rgb(210, 223, 55);
/* oklch */ color: oklch(86.6% 0.179 114.1);
Tailwind
colors: {
  custom: {
    50: '#e4e87b',
    500: '#d2df37',
    950: '#000000',
  },
}
SCSS
$custom: #d2df37;
$custom-light: #e4e87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df37",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 55
  },
  "hsl": {
    "h": 64.643,
    "s": 72.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.86583,
    "c": 0.17925,
    "h": 114.1
  },
  "luminance": 0.66753
}

Semantic roles & 50–950 ramp

primary
#D2DF37
secondary
#352E8C
accent
#39EF47
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160A
muted
#85847D

Preview Lab

Preview with #D2DF37

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

Preview Lab → · Contrast checker → · Palette generator →

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