#D2DA78#D2DA78

#D2DA78 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.1% C 0.122 H 112.8°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D2DA78
RGBrgb(210, 218, 120)
HSLhsl(65, 57%, 66%)
HSVhsv(65, 45%, 85%)
CMYKcmyk(3.7%, 0%, 45%, 14.5%)
CIE-LABlab(84.59, -16.81, 47.08)
CIE-LCHlch(84.59, 49.99, 109.65°)
OKLaboklab(86.13% -0.0474 0.1129)
OKLCHoklch(86.13% 0.122 112.8)
XYZxyz(55.0407, 65.2014, 27.4513)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DA78 #8078DA
analogous
#DAB178 #D2DA78 #A1DA78
triadic
#D2DA78 #78D2DA #DA78D2
tetradic
#D2DA78 #78DAB1 #8078DA #DA78A1
square
#D2DA78 #78DAB1 #8078DA #DA78A1
split-complementary
#D2DA78 #78A1DA #B178DA
monochromatic
#9FA92E #C2CD48 #D2DA78 #E2E7A8 #F2F4D8

Accessibility & contrast

On white

1.50
#D2DA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#D2DA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DA78
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DA78#FFFFFF#000000##000000
##D2DA781.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D270
Deuteranopia (green-blind)
#E7D47D
Tritanopia (blue-blind)
#DDD0C3
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2da78;
/* rgb */ color: rgb(210, 218, 120);
/* oklch */ color: oklch(86.1% 0.122 112.8);
Tailwind
colors: {
  custom: {
    50: '#e1e5a1',
    500: '#d2da78',
    950: '#000000',
  },
}
SCSS
$custom: #d2da78;
$custom-light: #e1e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2da78",
  "rgb": {
    "r": 210,
    "g": 218,
    "b": 120
  },
  "hsl": {
    "h": 64.898,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86127,
    "c": 0.12247,
    "h": 112.8
  },
  "luminance": 0.65201
}

Semantic roles & 50–950 ramp

primary
#D2DA78
secondary
#524AAC
accent
#21C52E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2DA78

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

Preview Lab → · Contrast checker → · Palette generator →

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