#D2DB78#D2DB78

#D2DB78 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.3% C 0.124 H 113.3°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#D2DB78
RGBrgb(210, 219, 120)
HSLhsl(65, 58%, 66%)
HSVhsv(65, 45%, 86%)
CMYKcmyk(4.1%, 0%, 45.2%, 14.1%)
CIE-LABlab(84.85, -17.30, 47.41)
CIE-LCHlch(84.85, 50.47, 110.05°)
OKLaboklab(86.34% -0.0488 0.1137)
OKLCHoklch(86.34% 0.124 113.3)
XYZxyz(55.3008, 65.7216, 27.5380)
Luminance0.6572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB78 #8178DB
analogous
#DBB378 #D2DB78 #A1DB78
triadic
#D2DB78 #78D2DB #DB78D2
tetradic
#D2DB78 #78DBB3 #8178DB #DB78A1
square
#D2DB78 #78DBB3 #8178DB #DB78A1
split-complementary
#D2DB78 #78A1DB #B378DB
monochromatic
#A0AB2E #C2CE48 #D2DB78 #E2E8A8 #F2F5D9

Accessibility & contrast

On white

1.48
#D2DB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#D2DB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB78
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB78#FFFFFF#000000##000000
##D2DB781.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D370
Deuteranopia (green-blind)
#E8D57D
Tritanopia (blue-blind)
#DDD1C4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2db78;
/* rgb */ color: rgb(210, 219, 120);
/* oklch */ color: oklch(86.3% 0.124 113.3);
Tailwind
colors: {
  custom: {
    50: '#e1e6a1',
    500: '#d2db78',
    950: '#000000',
  },
}
SCSS
$custom: #d2db78;
$custom-light: #e1e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db78",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 65.455,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8634,
    "c": 0.1237,
    "h": 113.3
  },
  "luminance": 0.65721
}

Semantic roles & 50–950 ramp

primary
#D2DB78
secondary
#534AAE
accent
#20C52F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2DB78

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

Preview Lab → · Contrast checker → · Palette generator →

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