#D2DF4A#D2DF4A

#D2DF4A is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.7% C 0.168 H 114.2°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#D2DF4A
RGBrgb(210, 223, 74)
HSLhsl(65, 70%, 58%)
HSVhsv(65, 67%, 87%)
CMYKcmyk(5.8%, 0%, 66.8%, 12.5%)
CIE-LABlab(85.49, -22.82, 68.25)
CIE-LCHlch(85.49, 71.96, 108.49°)
OKLaboklab(86.71% -0.0689 0.1533)
OKLCHoklch(86.71% 0.168 114.2)
XYZxyz(54.2035, 66.9724, 16.5488)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF4A #574ADF
analogous
#DFA14A #D2DF4A #87DF4A
triadic
#D2DF4A #4AD2DF #DF4AD2
tetradic
#D2DF4A #4ADFA1 #574ADF #DF4A87
square
#D2DF4A #4ADFA1 #574ADF #DF4A87
split-complementary
#D2DF4A #4A87DF #A14ADF
monochromatic
#8A941A #BAC823 #D2DF4A #DFE87E #ECF1B2

Accessibility & contrast

On white

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

On black

14.39
#D2DF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF4A
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF4A#FFFFFF#000000##000000
##D2DF4A1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD434
Deuteranopia (green-blind)
#EED755
Tritanopia (blue-blind)
#DFD2C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2df4a;
/* rgb */ color: rgb(210, 223, 74);
/* oklch */ color: oklch(86.7% 0.168 114.2);
Tailwind
colors: {
  custom: {
    50: '#e3e885',
    500: '#d2df4a',
    950: '#000000',
  },
}
SCSS
$custom: #d2df4a;
$custom-light: #e3e885;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df4a",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 74
  },
  "hsl": {
    "h": 65.235,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86707,
    "c": 0.16806,
    "h": 114.2
  },
  "luminance": 0.66971
}

Semantic roles & 50–950 ramp

primary
#D2DF4A
secondary
#3D3499
accent
#3BED4B
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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