#D2D440#D2D440

#D2D440 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.3% C 0.163 H 110.2°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#D2D440
RGBrgb(210, 212, 64)
HSLhsl(61, 63%, 54%)
HSVhsv(61, 70%, 83%)
CMYKcmyk(0.9%, 0%, 69.8%, 16.9%)
CIE-LABlab(82.46, -17.99, 68.90)
CIE-LCHlch(82.46, 71.21, 104.63°)
OKLaboklab(84.27% -0.0563 0.153)
OKLCHoklch(84.27% 0.163 110.2)
XYZxyz(51.0490, 61.1602, 13.9655)
Luminance0.6116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D440 #4240D4
analogous
#D48C40 #D2D440 #88D440
triadic
#D2D440 #40D2D4 #D440D2
tetradic
#D2D440 #40D48C #4240D4 #D44088
square
#D2D440 #40D48C #4240D4 #D44088
split-complementary
#D2D440 #4088D4 #8C40D4
monochromatic
#7C7D1C #ADAF27 #D2D440 #DEDF72 #EAEAA4

Accessibility & contrast

On white

1.59
#D2D440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#D2D440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D440
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D440#FFFFFF#000000##000000
##D2D4401.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E6CF4B
Tritanopia (blue-blind)
#E1C7B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d440;
/* rgb */ color: rgb(210, 212, 64);
/* oklch */ color: oklch(84.3% 0.163 110.2);
Tailwind
colors: {
  custom: {
    50: '#e3e17e',
    500: '#d2d440',
    950: '#000000',
  },
}
SCSS
$custom: #d2d440;
$custom-light: #e3e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d440",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 64
  },
  "hsl": {
    "h": 60.811,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84265,
    "c": 0.16308,
    "h": 110.2
  },
  "luminance": 0.61159
}

Semantic roles & 50–950 ramp

primary
#D2D440
secondary
#343385
accent
#42E644
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D440

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

Preview Lab → · Contrast checker → · Palette generator →

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