#D2DB3C#D2DB3C

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

Color values

HEX#D2DB3C
RGBrgb(210, 219, 60)
HSLhsl(63, 69%, 55%)
HSVhsv(63, 73%, 86%)
CMYKcmyk(4.1%, 0%, 72.6%, 14.1%)
CIE-LABlab(84.32, -21.60, 72.07)
CIE-LCHlch(84.32, 75.24, 106.68°)
OKLaboklab(85.75% -0.0668 0.159)
OKLCHoklch(85.75% 0.172 112.8)
XYZxyz(52.7271, 64.6921, 13.9834)
Luminance0.6469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB3C #453CDB
analogous
#DB943C #D2DB3C #83DB3C
triadic
#D2DB3C #3CD2DB #DB3CD2
tetradic
#D2DB3C #3CDB94 #453CDB #DB3C83
square
#D2DB3C #3CDB94 #453CDB #DB3C83
split-complementary
#D2DB3C #3C83DB #943CDB
monochromatic
#7E8418 #AFB822 #D2DB3C #DEE570 #EAEEA3

Accessibility & contrast

On white

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

On black

13.94
#D2DB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB3C
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB3C#FFFFFF#000000##000000
##D2DB3C1.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2db3c;
/* rgb */ color: rgb(210, 219, 60);
/* oklch */ color: oklch(85.7% 0.172 112.8);
Tailwind
colors: {
  custom: {
    50: '#e4e67d',
    500: '#d2db3c',
    950: '#000000',
  },
}
SCSS
$custom: #d2db3c;
$custom-light: #e4e67d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db3c",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 60
  },
  "hsl": {
    "h": 63.396,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.85746,
    "c": 0.17249,
    "h": 112.8
  },
  "luminance": 0.64691
}

Semantic roles & 50–950 ramp

primary
#D2DB3C
secondary
#36318B
accent
#3CEC46
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2DB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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