#D4DD2B#D4DD2B

#D4DD2B is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.3% C 0.182 H 112.7°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#D4DD2B
RGBrgb(212, 221, 43)
HSLhsl(63, 72%, 52%)
HSVhsv(63, 81%, 87%)
CMYKcmyk(4.1%, 0%, 80.5%, 13.3%)
CIE-LABlab(84.94, -22.38, 77.65)
CIE-LCHlch(84.94, 80.81, 106.08°)
OKLaboklab(86.25% -0.0704 0.1679)
OKLCHoklch(86.25% 0.182 112.7)
XYZxyz(53.4457, 65.8857, 12.1868)
Luminance0.6588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DD2B #342BDD
analogous
#DD8D2B #D4DD2B #7BDD2B
triadic
#D4DD2B #2BD4DD #DD2BD4
tetradic
#D4DD2B #2BDD8D #342BDD #DD2B7B
square
#D4DD2B #2BDD8D #342BDD #DD2B7B
split-complementary
#D4DD2B #2B7BDD #8D2BDD
monochromatic
#757A14 #A7AF1C #D4DD2B #DFE560 #E9EE94

Accessibility & contrast

On white

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

On black

14.18
#D4DD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DD2B
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DD2B#FFFFFF#000000##000000
##D4DD2B1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED200
Deuteranopia (green-blind)
#EED63D
Tritanopia (blue-blind)
#E3CFBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dd2b;
/* rgb */ color: rgb(212, 221, 43);
/* oklch */ color: oklch(86.3% 0.182 112.7);
Tailwind
colors: {
  custom: {
    50: '#e6e776',
    500: '#d4dd2b',
    950: '#000000',
  },
}
SCSS
$custom: #d4dd2b;
$custom-light: #e6e776;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dd2b",
  "rgb": {
    "r": 212,
    "g": 221,
    "b": 43
  },
  "hsl": {
    "h": 63.034,
    "s": 72.358,
    "l": 51.765
  },
  "oklch": {
    "l": 0.8625,
    "c": 0.18208,
    "h": 112.7
  },
  "luminance": 0.65884
}

Semantic roles & 50–950 ramp

primary
#D4DD2B
secondary
#2F2A82
accent
#39EF42
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#16160A
muted
#85847D

Preview Lab

Preview with #D4DD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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