#D4D440#D4D440

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

Color values

HEX#D4D440
RGBrgb(212, 212, 64)
HSLhsl(60, 63%, 54%)
HSVhsv(60, 70%, 83%)
CMYKcmyk(0%, 0%, 69.8%, 16.9%)
CIE-LABlab(82.62, -17.15, 69.11)
CIE-LCHlch(82.62, 71.21, 103.94°)
OKLaboklab(84.43% -0.0541 0.1534)
OKLCHoklch(84.43% 0.163 109.4)
XYZxyz(51.6221, 61.4557, 13.9924)
Luminance0.6145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D440 #4040D4
analogous
#D48A40 #D4D440 #8AD440
triadic
#D4D440 #40D4D4 #D440D4
tetradic
#D4D440 #40D48A #4040D4 #D4408A
square
#D4D440 #40D48A #4040D4 #D4408A
split-complementary
#D4D440 #408AD4 #8A40D4
monochromatic
#7D7D1C #AFAF27 #D4D440 #DFDF72 #EAEAA4

Accessibility & contrast

On white

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

On black

13.29
#D4D440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D440
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D440#FFFFFF#000000##000000
##D4D4401.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d440;
/* rgb */ color: rgb(212, 212, 64);
/* oklch */ color: oklch(84.4% 0.163 109.4);
Tailwind
colors: {
  custom: {
    50: '#e5e17e',
    500: '#d4d440',
    950: '#000000',
  },
}
SCSS
$custom: #d4d440;
$custom-light: #e5e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d440",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84431,
    "c": 0.16269,
    "h": 109.4
  },
  "luminance": 0.61454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D440

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

Preview Lab → · Contrast checker → · Palette generator →

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