#D2DA42#D2DA42

#D2DA42 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.168 H 112.4°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#D2DA42
RGBrgb(210, 218, 66)
HSLhsl(63, 67%, 56%)
HSVhsv(63, 70%, 85%)
CMYKcmyk(3.7%, 0%, 69.7%, 14.5%)
CIE-LABlab(84.09, -20.83, 69.78)
CIE-LCHlch(84.09, 72.82, 106.62°)
OKLaboklab(85.57% -0.0641 0.1552)
OKLCHoklch(85.57% 0.168 112.4)
XYZxyz(52.6347, 64.2390, 14.7799)
Luminance0.6424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DA42 #4A42DA
analogous
#DA9642 #D2DA42 #86DA42
triadic
#D2DA42 #42D2DA #DA42D2
tetradic
#D2DA42 #42DA96 #4A42DA #DA4286
square
#D2DA42 #42DA96 #4A42DA #DA4286
split-complementary
#D2DA42 #4286DA #9642DA
monochromatic
#81871A #B2BA24 #D2DA42 #DEE475 #EAEEA8

Accessibility & contrast

On white

1.52
#D2DA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#D2DA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DA42
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DA42#FFFFFF#000000##000000
##D2DA421.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD028
Deuteranopia (green-blind)
#EBD34E
Tritanopia (blue-blind)
#E0CDBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2da42;
/* rgb */ color: rgb(210, 218, 66);
/* oklch */ color: oklch(85.6% 0.168 112.4);
Tailwind
colors: {
  custom: {
    50: '#e3e580',
    500: '#d2da42',
    950: '#000000',
  },
}
SCSS
$custom: #d2da42;
$custom-light: #e3e580;
$custom-dark: #000000;
JSON
{
  "hex": "#d2da42",
  "rgb": {
    "r": 210,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 63.158,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85569,
    "c": 0.16794,
    "h": 112.4
  },
  "luminance": 0.64238
}

Semantic roles & 50–950 ramp

primary
#D2DA42
secondary
#38338D
accent
#3EEA47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2DA42

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

Preview Lab → · Contrast checker → · Palette generator →

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