#D4D125#D4D125

#D4D125 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.173 H 108.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D4D125
RGBrgb(212, 209, 37)
HSLhsl(59, 70%, 49%)
HSVhsv(59, 83%, 83%)
CMYKcmyk(0%, 1.4%, 82.5%, 16.9%)
CIE-LABlab(81.69, -16.69, 76.34)
CIE-LCHlch(81.69, 78.15, 102.33°)
OKLaboklab(83.65% -0.055 0.1641)
OKLCHoklch(83.65% 0.173 108.5)
XYZxyz(50.2878, 59.7333, 10.6306)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D125 #2528D4
analogous
#D47925 #D4D125 #80D425
triadic
#D4D125 #25D4D1 #D125D4
tetradic
#D4D125 #25D479 #2528D4 #D42580
square
#D4D125 #25D479 #2528D4 #D42580
split-complementary
#D4D125 #2580D4 #7925D4
monochromatic
#6C6A13 #A09E1C #D4D125 #E1DF55 #EAE989

Accessibility & contrast

On white

1.62
#D4D125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#D4D125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D125
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D125#FFFFFF#000000##000000
##D4D1251.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C800
Deuteranopia (green-blind)
#E5CE36
Tritanopia (blue-blind)
#E4C3B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d125;
/* rgb */ color: rgb(212, 209, 37);
/* oklch */ color: oklch(83.6% 0.173 108.5);
Tailwind
colors: {
  custom: {
    50: '#e6de72',
    500: '#d4d125',
    950: '#000000',
  },
}
SCSS
$custom: #d4d125;
$custom-light: #e6de72;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d125",
  "rgb": {
    "r": 212,
    "g": 209,
    "b": 37
  },
  "hsl": {
    "h": 58.971,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.83647,
    "c": 0.17306,
    "h": 108.5
  },
  "luminance": 0.59732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D125

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

Preview Lab → · Contrast checker → · Palette generator →

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