#D2DA40#D2DA40

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

Color values

HEX#D2DA40
RGBrgb(210, 218, 64)
HSLhsl(63, 68%, 55%)
HSVhsv(63, 71%, 85%)
CMYKcmyk(3.7%, 0%, 70.6%, 14.5%)
CIE-LABlab(84.08, -20.93, 70.47)
CIE-LCHlch(84.08, 73.52, 106.54°)
OKLaboklab(85.56% -0.0645 0.1564)
OKLCHoklch(85.56% 0.169 112.4)
XYZxyz(52.5768, 64.2158, 14.4748)
Luminance0.6421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DA40 #4840DA
analogous
#DA9540 #D2DA40 #85DA40
triadic
#D2DA40 #40D2DA #DA40D2
tetradic
#D2DA40 #40DA95 #4840DA #DA4085
square
#D2DA40 #40DA95 #4840DA #DA4085
split-complementary
#D2DA40 #4085DA #9540DA
monochromatic
#80861A #B1B924 #D2DA40 #DEE473 #EAEEA7

Accessibility & contrast

On white

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

On black

13.84
#D2DA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DA40
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DA40#FFFFFF#000000##000000
##D2DA401.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2da40;
/* rgb */ color: rgb(210, 218, 64);
/* oklch */ color: oklch(85.6% 0.169 112.4);
Tailwind
colors: {
  custom: {
    50: '#e3e57f',
    500: '#d2da40',
    950: '#000000',
  },
}
SCSS
$custom: #d2da40;
$custom-light: #e3e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2da40",
  "rgb": {
    "r": 210,
    "g": 218,
    "b": 64
  },
  "hsl": {
    "h": 63.117,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85556,
    "c": 0.16915,
    "h": 112.4
  },
  "luminance": 0.64215
}

Semantic roles & 50–950 ramp

primary
#D2DA40
secondary
#37328C
accent
#3DEA46
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2DA40

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

Preview Lab → · Contrast checker → · Palette generator →

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