#D4D366#D4D366

#D4D366 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.6% C 0.132 H 108.4°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D4D366
RGBrgb(212, 211, 102)
HSLhsl(59, 56%, 62%)
HSVhsv(59, 52%, 83%)
CMYKcmyk(0%, 0.5%, 51.9%, 16.9%)
CIE-LABlab(82.67, -14.17, 53.37)
CIE-LCHlch(82.67, 55.21, 104.87°)
OKLaboklab(84.57% -0.0417 0.1252)
OKLCHoklch(84.57% 0.132 108.4)
XYZxyz(52.8452, 61.5462, 21.6637)
Luminance0.6155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D366 #6667D4
analogous
#D49C66 #D4D366 #9ED466
triadic
#D4D366 #66D4D3 #D366D4
tetradic
#D4D366 #66D49C #6667D4 #D4669E
square
#D4D366 #66D49C #6667D4 #D4669E
split-complementary
#D4D366 #669ED4 #9C66D4
monochromatic
#96952A #C5C437 #D4D366 #E1E196 #EFEEC6

Accessibility & contrast

On white

1.58
#D4D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D4D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D366
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D366#FFFFFF#000000##000000
##D4D3661.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E4D06C
Tritanopia (blue-blind)
#E1C7BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d366;
/* rgb */ color: rgb(212, 211, 102);
/* oklch */ color: oklch(84.6% 0.132 108.4);
Tailwind
colors: {
  custom: {
    50: '#e3e095',
    500: '#d4d366',
    950: '#000000',
  },
}
SCSS
$custom: #d4d366;
$custom-light: #e3e095;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d366",
  "rgb": {
    "r": 212,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 59.455,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8457,
    "c": 0.13195,
    "h": 108.4
  },
  "luminance": 0.61545
}

Semantic roles & 50–950 ramp

primary
#D4D366
secondary
#43449B
accent
#23C422
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D366

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

Preview Lab → · Contrast checker → · Palette generator →

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