#D2DB7B#D2DB7B

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

Color values

HEX#D2DB7B
RGBrgb(210, 219, 123)
HSLhsl(66, 57%, 67%)
HSVhsv(66, 44%, 86%)
CMYKcmyk(4.1%, 0%, 43.8%, 14.1%)
CIE-LABlab(84.89, -17.00, 46.00)
CIE-LCHlch(84.89, 49.04, 110.28°)
OKLaboklab(86.38% -0.0477 0.1107)
OKLCHoklch(86.38% 0.121 113.3)
XYZxyz(55.4857, 65.7956, 28.5119)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB7B #847BDB
analogous
#DBB47B #D2DB7B #A2DB7B
triadic
#D2DB7B #7BD2DB #DB7BD2
tetradic
#D2DB7B #7BDBB4 #847BDB #DB7BA2
square
#D2DB7B #7BDBB4 #847BDB #DB7BA2
split-complementary
#D2DB7B #7BA2DB #B47BDB
monochromatic
#A1AD2F #C2CE4B #D2DB7B #E2E8AB #F3F5DB

Accessibility & contrast

On white

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

On black

14.16
#D2DB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB7B
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB7B#FFFFFF#000000##000000
##D2DB7B1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2db7b;
/* rgb */ color: rgb(210, 219, 123);
/* oklch */ color: oklch(86.4% 0.121 113.3);
Tailwind
colors: {
  custom: {
    50: '#e1e6a3',
    500: '#d2db7b',
    950: '#000000',
  },
}
SCSS
$custom: #d2db7b;
$custom-light: #e1e6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db7b",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 123
  },
  "hsl": {
    "h": 65.625,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86382,
    "c": 0.12055,
    "h": 113.3
  },
  "luminance": 0.65795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2DB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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