#D4D426#D4D426

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

Color values

HEX#D4D426
RGBrgb(212, 212, 38)
HSLhsl(60, 70%, 49%)
HSVhsv(60, 82%, 83%)
CMYKcmyk(0%, 0%, 82.1%, 16.9%)
CIE-LABlab(82.50, -18.14, 76.79)
CIE-LCHlch(82.50, 78.90, 103.29°)
OKLaboklab(84.29% -0.059 0.1652)
OKLCHoklch(84.29% 0.175 109.6)
XYZxyz(51.0467, 61.2256, 10.9621)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D426 #2626D4
analogous
#D47D26 #D4D426 #7DD426
triadic
#D4D426 #26D4D4 #D426D4
tetradic
#D4D426 #26D47D #2626D4 #D4267D
square
#D4D426 #26D47D #2626D4 #D4267D
split-complementary
#D4D426 #267DD4 #7D26D4
monochromatic
#6C6C13 #A0A01D #D4D426 #E1E156 #EAEA8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D426#FFFFFF#000000##000000
##D4D4261.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)
#E6CB00
Deuteranopia (green-blind)
#E8D038
Tritanopia (blue-blind)
#E4C6B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d426;
/* rgb */ color: rgb(212, 212, 38);
/* oklch */ color: oklch(84.3% 0.175 109.6);
Tailwind
colors: {
  custom: {
    50: '#e6e073',
    500: '#d4d426',
    950: '#000000',
  },
}
SCSS
$custom: #d4d426;
$custom-light: #e6e073;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d426",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 69.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.84293,
    "c": 0.17543,
    "h": 109.6
  },
  "luminance": 0.61224
}

Semantic roles & 50–950 ramp

primary
#D4D426
secondary
#292976
accent
#3BEC3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D426

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

Preview Lab → · Contrast checker → · Palette generator →

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