#D3DD38#D3DD38

#D3DD38 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.2% C 0.176 H 113.1°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#D3DD38
RGBrgb(211, 221, 56)
HSLhsl(64, 71%, 54%)
HSVhsv(64, 75%, 87%)
CMYKcmyk(4.5%, 0%, 74.7%, 13.3%)
CIE-LABlab(84.92, -22.33, 73.94)
CIE-LCHlch(84.92, 77.23, 106.80°)
OKLaboklab(86.23% -0.0692 0.1623)
OKLCHoklch(86.23% 0.176 113.1)
XYZxyz(53.4359, 65.8485, 13.6358)
Luminance0.6585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3DD38 #4238DD
analogous
#DD9438 #D3DD38 #81DD38
triadic
#D3DD38 #38D3DD #DD38D3
tetradic
#D3DD38 #38DD94 #4238DD #DD3881
square
#D3DD38 #38DD94 #4238DD #DD3881
split-complementary
#D3DD38 #3881DD #9438DD
monochromatic
#7D8417 #AFB81F #D3DD38 #DFE66C #EAEFA1

Accessibility & contrast

On white

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

On black

14.17
#D3DD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3DD38
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3DD38#FFFFFF#000000##000000
##D3DD381.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED20E
Deuteranopia (green-blind)
#EED646
Tritanopia (blue-blind)
#E1D0BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d3dd38;
/* rgb */ color: rgb(211, 221, 56);
/* oklch */ color: oklch(86.2% 0.176 113.1);
Tailwind
colors: {
  custom: {
    50: '#e4e77b',
    500: '#d3dd38',
    950: '#000000',
  },
}
SCSS
$custom: #d3dd38;
$custom-light: #e4e77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3dd38",
  "rgb": {
    "r": 211,
    "g": 221,
    "b": 56
  },
  "hsl": {
    "h": 63.636,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.86234,
    "c": 0.17642,
    "h": 113.1
  },
  "luminance": 0.65847
}

Semantic roles & 50–950 ramp

primary
#D3DD38
secondary
#342F8B
accent
#3AEE45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160A
muted
#85847D

Preview Lab

Preview with #D3DD38

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

Preview Lab → · Contrast checker → · Palette generator →

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