#D2DB7A#D2DB7A

#D2DB7A is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.4% C 0.122 H 113.3°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#D2DB7A
RGBrgb(210, 219, 122)
HSLhsl(66, 57%, 67%)
HSVhsv(66, 44%, 86%)
CMYKcmyk(4.1%, 0%, 44.3%, 14.1%)
CIE-LABlab(84.88, -17.10, 46.47)
CIE-LCHlch(84.88, 49.52, 110.20°)
OKLaboklab(86.37% -0.0481 0.1117)
OKLCHoklch(86.37% 0.122 113.3)
XYZxyz(55.4234, 65.7706, 28.1839)
Luminance0.6577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB7A #837ADB
analogous
#DBB47A #D2DB7A #A2DB7A
triadic
#D2DB7A #7AD2DB #DB7AD2
tetradic
#D2DB7A #7ADBB4 #837ADB #DB7AA2
square
#D2DB7A #7ADBB4 #837ADB #DB7AA2
split-complementary
#D2DB7A #7AA2DB #B47ADB
monochromatic
#A0AC2F #C2CE4A #D2DB7A #E2E8AA #F3F5DA

Accessibility & contrast

On white

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

On black

14.15
#D2DB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB7A
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB7A#FFFFFF#000000##000000
##D2DB7A1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2db7a;
/* rgb */ color: rgb(210, 219, 122);
/* oklch */ color: oklch(86.4% 0.122 113.3);
Tailwind
colors: {
  custom: {
    50: '#e1e6a2',
    500: '#d2db7a',
    950: '#000000',
  },
}
SCSS
$custom: #d2db7a;
$custom-light: #e1e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db7a",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 122
  },
  "hsl": {
    "h": 65.567,
    "s": 57.396,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86368,
    "c": 0.1216,
    "h": 113.3
  },
  "luminance": 0.6577
}

Semantic roles & 50–950 ramp

primary
#D2DB7A
secondary
#544BAF
accent
#21C530
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2DB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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