#D2DB42#D2DB42

#D2DB42 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.8% C 0.169 H 112.8°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#D2DB42
RGBrgb(210, 219, 66)
HSLhsl(64, 68%, 56%)
HSVhsv(64, 70%, 86%)
CMYKcmyk(4.1%, 0%, 69.9%, 14.1%)
CIE-LABlab(84.36, -21.31, 70.05)
CIE-LCHlch(84.36, 73.22, 106.92°)
OKLaboklab(85.79% -0.0654 0.1558)
OKLCHoklch(85.79% 0.169 112.8)
XYZxyz(52.8948, 64.7592, 14.8666)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB42 #4B42DB
analogous
#DB9742 #D2DB42 #86DB42
triadic
#D2DB42 #42D2DB #DB42D2
tetradic
#D2DB42 #42DB97 #4B42DB #DB4286
square
#D2DB42 #42DB97 #4B42DB #DB4286
split-complementary
#D2DB42 #4286DB #9742DB
monochromatic
#82891A #B3BC24 #D2DB42 #DEE575 #EAEFA9

Accessibility & contrast

On white

1.51
#D2DB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#D2DB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB42
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB42#FFFFFF#000000##000000
##D2DB421.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD127
Deuteranopia (green-blind)
#EBD44E
Tritanopia (blue-blind)
#E0CEBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2db42;
/* rgb */ color: rgb(210, 219, 66);
/* oklch */ color: oklch(85.8% 0.169 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e680',
    500: '#d2db42',
    950: '#000000',
  },
}
SCSS
$custom: #d2db42;
$custom-light: #e3e680;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db42",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 63.529,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85785,
    "c": 0.16897,
    "h": 112.8
  },
  "luminance": 0.64758
}

Semantic roles & 50–950 ramp

primary
#D2DB42
secondary
#38338F
accent
#3DEB47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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