#D4D325#D4D325

#D4D325 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.175 H 109.3°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D4D325
RGBrgb(212, 211, 37)
HSLhsl(60, 70%, 49%)
HSVhsv(60, 83%, 83%)
CMYKcmyk(0%, 0.5%, 82.5%, 16.9%)
CIE-LABlab(82.23, -17.68, 76.79)
CIE-LCHlch(82.23, 78.80, 102.96°)
OKLaboklab(84.08% -0.0577 0.1651)
OKLCHoklch(84.08% 0.175 109.3)
XYZxyz(50.7816, 60.7208, 10.7952)
Luminance0.6072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D325 #2526D4
analogous
#D47C25 #D4D325 #7ED425
triadic
#D4D325 #25D4D3 #D325D4
tetradic
#D4D325 #25D47C #2526D4 #D4257E
square
#D4D325 #25D47C #2526D4 #D4257E
split-complementary
#D4D325 #257ED4 #7C25D4
monochromatic
#6C6B13 #A09F1C #D4D325 #E1E155 #EAEA89

Accessibility & contrast

On white

1.60
#D4D325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#D4D325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D325
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D325#FFFFFF#000000##000000
##D4D3251.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E7CF37
Tritanopia (blue-blind)
#E4C5B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d325;
/* rgb */ color: rgb(212, 211, 37);
/* oklch */ color: oklch(84.1% 0.175 109.3);
Tailwind
colors: {
  custom: {
    50: '#e6e072',
    500: '#d4d325',
    950: '#000000',
  },
}
SCSS
$custom: #d4d325;
$custom-light: #e6e072;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d325",
  "rgb": {
    "r": 212,
    "g": 211,
    "b": 37
  },
  "hsl": {
    "h": 59.657,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.84075,
    "c": 0.17488,
    "h": 109.3
  },
  "luminance": 0.60719
}

Semantic roles & 50–950 ramp

primary
#D4D325
secondary
#282875
accent
#3CED3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D325

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

Preview Lab → · Contrast checker → · Palette generator →

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