#D4D352#D4D352

#D4D352 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.149 H 108.8°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#D4D352
RGBrgb(212, 211, 82)
HSLhsl(60, 60%, 58%)
HSVhsv(60, 61%, 83%)
CMYKcmyk(0%, 0.5%, 61.3%, 16.9%)
CIE-LABlab(82.48, -15.64, 61.99)
CIE-LCHlch(82.48, 63.93, 104.16°)
OKLaboklab(84.36% -0.048 0.1412)
OKLCHoklch(84.36% 0.149 108.8)
XYZxyz(51.9703, 61.1963, 17.0554)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D352 #5253D4
analogous
#D49252 #D4D352 #94D452
triadic
#D4D352 #52D4D3 #D352D4
tetradic
#D4D352 #52D492 #5253D4 #D45294
square
#D4D352 #52D492 #5253D4 #D45294
split-complementary
#D4D352 #5294D4 #9252D4
monochromatic
#898922 #BAB92E #D4D352 #E0DF83 #ECECB4

Accessibility & contrast

On white

1.59
#D4D352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#D4D352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D352
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D352#FFFFFF#000000##000000
##D4D3521.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#E2C6B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d352;
/* rgb */ color: rgb(212, 211, 82);
/* oklch */ color: oklch(84.4% 0.149 108.8);
Tailwind
colors: {
  custom: {
    50: '#e4e088',
    500: '#d4d352',
    950: '#000000',
  },
}
SCSS
$custom: #d4d352;
$custom-light: #e4e088;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d352",
  "rgb": {
    "r": 212,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 59.538,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84361,
    "c": 0.14915,
    "h": 108.8
  },
  "luminance": 0.61195
}

Semantic roles & 50–950 ramp

primary
#D4D352
secondary
#3B3B90
accent
#46E344
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D352

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

Preview Lab → · Contrast checker → · Palette generator →

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