#D2DB4A#D2DB4A

#D2DB4A is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 85.8% C 0.164 H 112.8°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#D2DB4A
RGBrgb(210, 219, 74)
HSLhsl(64, 67%, 57%)
HSVhsv(64, 66%, 86%)
CMYKcmyk(4.1%, 0%, 66.2%, 14.1%)
CIE-LABlab(84.41, -20.88, 67.15)
CIE-LCHlch(84.41, 70.33, 107.28°)
OKLaboklab(85.84% -0.0635 0.151)
OKLCHoklch(85.84% 0.164 112.8)
XYZxyz(53.1474, 64.8602, 16.1968)
Luminance0.6486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB4A #534ADB
analogous
#DB9B4A #D2DB4A #8ADB4A
triadic
#D2DB4A #4AD2DB #DB4AD2
tetradic
#D2DB4A #4ADB9B #534ADB #DB4A8A
square
#D2DB4A #4ADB9B #534ADB #DB4A8A
split-complementary
#D2DB4A #4A8ADB #9B4ADB
monochromatic
#878E1C #B8C126 #D2DB4A #DFE57D #EBEFB0

Accessibility & contrast

On white

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

On black

13.97
#D2DB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB4A
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB4A#FFFFFF#000000##000000
##D2DB4A1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD135
Deuteranopia (green-blind)
#EBD454
Tritanopia (blue-blind)
#E0CEBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2db4a;
/* rgb */ color: rgb(210, 219, 74);
/* oklch */ color: oklch(85.8% 0.164 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e684',
    500: '#d2db4a',
    950: '#000000',
  },
}
SCSS
$custom: #d2db4a;
$custom-light: #e3e684;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db4a",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 74
  },
  "hsl": {
    "h": 63.724,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85843,
    "c": 0.16378,
    "h": 112.8
  },
  "luminance": 0.64859
}

Semantic roles & 50–950 ramp

primary
#D2DB4A
secondary
#3B3694
accent
#3EEA49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2DB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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