#D2DB40#D2DB40

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

Color values

HEX#D2DB40
RGBrgb(210, 219, 64)
HSLhsl(63, 68%, 55%)
HSVhsv(63, 71%, 86%)
CMYKcmyk(4.1%, 0%, 70.8%, 14.1%)
CIE-LABlab(84.35, -21.41, 70.74)
CIE-LCHlch(84.35, 73.91, 106.84°)
OKLaboklab(85.77% -0.0659 0.1569)
OKLCHoklch(85.77% 0.17 112.8)
XYZxyz(52.8369, 64.7360, 14.5615)
Luminance0.6473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB40 #4940DB
analogous
#DB9640 #D2DB40 #84DB40
triadic
#D2DB40 #40D2DB #DB40D2
tetradic
#D2DB40 #40DB96 #4940DB #DB4084
square
#D2DB40 #40DB96 #4940DB #DB4084
split-complementary
#D2DB40 #4084DB #9640DB
monochromatic
#818719 #B2BB23 #D2DB40 #DEE573 #EAEEA7

Accessibility & contrast

On white

1.51
#D2DB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#D2DB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB40
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB40#FFFFFF#000000##000000
##D2DB401.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD124
Deuteranopia (green-blind)
#EBD44C
Tritanopia (blue-blind)
#E0CEBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2db40;
/* rgb */ color: rgb(210, 219, 64);
/* oklch */ color: oklch(85.8% 0.170 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e67f',
    500: '#d2db40',
    950: '#000000',
  },
}
SCSS
$custom: #d2db40;
$custom-light: #e3e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db40",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 63.484,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85771,
    "c": 0.17018,
    "h": 112.8
  },
  "luminance": 0.64735
}

Semantic roles & 50–950 ramp

primary
#D2DB40
secondary
#37328D
accent
#3DEB47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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