#D4D442#D4D442

#D4D442 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.4% C 0.161 H 109.4°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#D4D442
RGBrgb(212, 212, 66)
HSLhsl(60, 63%, 55%)
HSVhsv(60, 69%, 83%)
CMYKcmyk(0%, 0%, 68.9%, 16.9%)
CIE-LABlab(82.64, -17.05, 68.41)
CIE-LCHlch(82.64, 70.50, 104.00°)
OKLaboklab(84.44% -0.0536 0.1523)
OKLCHoklch(84.44% 0.161 109.4)
XYZxyz(51.6800, 61.4789, 14.2975)
Luminance0.6148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D442 #4242D4
analogous
#D48B42 #D4D442 #8BD442
triadic
#D4D442 #42D4D4 #D442D4
tetradic
#D4D442 #42D48B #4242D4 #D4428B
square
#D4D442 #42D48B #4242D4 #D4428B
split-complementary
#D4D442 #428BD4 #8B42D4
monochromatic
#7F7F1D #B1B128 #D4D442 #DFDF74 #EBEBA6

Accessibility & contrast

On white

1.58
#D4D442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#D4D442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D442
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D442#FFFFFF#000000##000000
##D4D4421.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB2A
Deuteranopia (green-blind)
#E7D04D
Tritanopia (blue-blind)
#E3C7B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d442;
/* rgb */ color: rgb(212, 212, 66);
/* oklch */ color: oklch(84.4% 0.161 109.4);
Tailwind
colors: {
  custom: {
    50: '#e5e17f',
    500: '#d4d442',
    950: '#000000',
  },
}
SCSS
$custom: #d4d442;
$custom-light: #e5e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d442",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84444,
    "c": 0.16144,
    "h": 109.4
  },
  "luminance": 0.61477
}

Semantic roles & 50–950 ramp

primary
#D4D442
secondary
#343486
accent
#42E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D442

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

Preview Lab → · Contrast checker → · Palette generator →

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