#D4D225#D4D225

#D4D225 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.174 H 108.9°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D4D225
RGBrgb(212, 210, 37)
HSLhsl(59, 70%, 49%)
HSVhsv(59, 83%, 83%)
CMYKcmyk(0%, 0.9%, 82.5%, 16.9%)
CIE-LABlab(81.96, -17.18, 76.57)
CIE-LCHlch(81.96, 78.47, 102.65°)
OKLaboklab(83.86% -0.0564 0.1646)
OKLCHoklch(83.86% 0.174 108.9)
XYZxyz(50.5340, 60.2255, 10.7127)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D225 #2527D4
analogous
#D47B25 #D4D225 #7FD425
triadic
#D4D225 #25D4D2 #D225D4
tetradic
#D4D225 #25D47B #2527D4 #D4257F
square
#D4D225 #25D47B #2527D4 #D4257F
split-complementary
#D4D225 #257FD4 #7B25D4
monochromatic
#6C6B13 #A09E1C #D4D225 #E1E055 #EAE989

Accessibility & contrast

On white

1.61
#D4D225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#D4D225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D225
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D225#FFFFFF#000000##000000
##D4D2251.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C900
Deuteranopia (green-blind)
#E6CE37
Tritanopia (blue-blind)
#E4C4B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d225;
/* rgb */ color: rgb(212, 210, 37);
/* oklch */ color: oklch(83.9% 0.174 108.9);
Tailwind
colors: {
  custom: {
    50: '#e6df72',
    500: '#d4d225',
    950: '#000000',
  },
}
SCSS
$custom: #d4d225;
$custom-light: #e6df72;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d225",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 37
  },
  "hsl": {
    "h": 59.314,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.83861,
    "c": 0.17397,
    "h": 108.9
  },
  "luminance": 0.60224
}

Semantic roles & 50–950 ramp

primary
#D4D225
secondary
#282975
accent
#3DED3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D225

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

Preview Lab → · Contrast checker → · Palette generator →

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