#D2DB5F#D2DB5F

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

Color values

HEX#D2DB5F
RGBrgb(210, 219, 95)
HSLhsl(64, 63%, 62%)
HSVhsv(64, 57%, 86%)
CMYKcmyk(4.1%, 0%, 56.6%, 14.1%)
CIE-LABlab(84.58, -19.49, 58.67)
CIE-LCHlch(84.58, 61.82, 108.38°)
OKLaboklab(86.04% -0.0574 0.1359)
OKLCHoklch(86.04% 0.148 112.9)
XYZxyz(53.9766, 65.1919, 20.5641)
Luminance0.6519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB5F #685FDB
analogous
#DBA65F #D2DB5F #94DB5F
triadic
#D2DB5F #5FD2DB #DB5FD2
tetradic
#D2DB5F #5FDBA6 #685FDB #DB5F94
square
#D2DB5F #5FDBA6 #685FDB #DB5F94
split-complementary
#D2DB5F #5F94DB #A65FDB
monochromatic
#949C23 #C3CE2E #D2DB5F #E0E691 #EEF1C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2DB5F#FFFFFF#000000##000000
##D2DB5F1.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)
#EAD252
Deuteranopia (green-blind)
#EAD566
Tritanopia (blue-blind)
#DFCFC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2db5f;
/* rgb */ color: rgb(210, 219, 95);
/* oklch */ color: oklch(86.0% 0.147 112.9);
Tailwind
colors: {
  custom: {
    50: '#e2e691',
    500: '#d2db5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2db5f;
$custom-light: #e2e691;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db5f",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 64.355,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86035,
    "c": 0.1475,
    "h": 112.9
  },
  "luminance": 0.65191
}

Semantic roles & 50–950 ramp

primary
#D2DB5F
secondary
#453EA0
accent
#1ACB27
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2DB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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