#D4D025#D4D025

#D4D025 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.172 H 108.1°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D4D025
RGBrgb(212, 208, 37)
HSLhsl(59, 70%, 49%)
HSVhsv(59, 83%, 83%)
CMYKcmyk(0%, 1.9%, 82.5%, 16.9%)
CIE-LABlab(81.43, -16.19, 76.12)
CIE-LCHlch(81.43, 77.82, 102.01°)
OKLaboklab(83.43% -0.0536 0.1636)
OKLCHoklch(83.43% 0.172 108.1)
XYZxyz(50.0433, 59.2441, 10.5491)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D025 #2529D4
analogous
#D47925 #D4D025 #80D425
triadic
#D4D025 #25D4D0 #D025D4
tetradic
#D4D025 #25D479 #2529D4 #D42580
square
#D4D025 #25D479 #2529D4 #D42580
split-complementary
#D4D025 #2580D4 #7925D4
monochromatic
#6C6A13 #A09D1C #D4D025 #E1DE55 #EAE889

Accessibility & contrast

On white

1.63
#D4D025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#D4D025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D025
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D025#FFFFFF#000000##000000
##D4D0251.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C700
Deuteranopia (green-blind)
#E5CD36
Tritanopia (blue-blind)
#E4C2B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4d025;
/* rgb */ color: rgb(212, 208, 37);
/* oklch */ color: oklch(83.4% 0.172 108.1);
Tailwind
colors: {
  custom: {
    50: '#e6de72',
    500: '#d4d025',
    950: '#000000',
  },
}
SCSS
$custom: #d4d025;
$custom-light: #e6de72;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d025",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 37
  },
  "hsl": {
    "h": 58.629,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.83434,
    "c": 0.17216,
    "h": 108.1
  },
  "luminance": 0.59242
}

Semantic roles & 50–950 ramp

primary
#D4D025
secondary
#282A75
accent
#3FED3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D025

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

Preview Lab → · Contrast checker → · Palette generator →

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