#D4D420#D4D420

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

Color values

HEX#D4D420
RGBrgb(212, 212, 32)
HSLhsl(60, 74%, 48%)
HSVhsv(60, 85%, 83%)
CMYKcmyk(0%, 0%, 84.9%, 16.9%)
CIE-LABlab(82.48, -18.30, 78.10)
CIE-LCHlch(82.48, 80.22, 103.19°)
OKLaboklab(84.27% -0.0597 0.1671)
OKLCHoklch(84.27% 0.177 109.7)
XYZxyz(50.9576, 61.1899, 10.4928)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D420 #2020D4
analogous
#D47A20 #D4D420 #7AD420
triadic
#D4D420 #20D4D4 #D420D4
tetradic
#D4D420 #20D47A #2020D4 #D4207A
square
#D4D420 #20D47A #2020D4 #D4207A
split-complementary
#D4D420 #207AD4 #7A20D4
monochromatic
#6A6A10 #9F9F18 #D4D420 #E4E44D #ECEC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D420#FFFFFF#000000##000000
##D4D4201.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)
#E8D034
Tritanopia (blue-blind)
#E4C6B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d420;
/* rgb */ color: rgb(212, 212, 32);
/* oklch */ color: oklch(84.3% 0.177 109.7);
Tailwind
colors: {
  custom: {
    50: '#e6e071',
    500: '#d4d420',
    950: '#000000',
  },
}
SCSS
$custom: #d4d420;
$custom-light: #e6e071;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d420",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 73.77,
    "l": 47.843
  },
  "oklch": {
    "l": 0.84271,
    "c": 0.17748,
    "h": 109.7
  },
  "luminance": 0.61188
}

Semantic roles & 50–950 ramp

primary
#D4D420
secondary
#252573
accent
#37F037
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D420

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

Preview Lab → · Contrast checker → · Palette generator →

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