#D4D337#D4D337

#D4D337 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.2% C 0.167 H 109.1°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#D4D337
RGBrgb(212, 211, 55)
HSLhsl(60, 65%, 52%)
HSVhsv(60, 74%, 83%)
CMYKcmyk(0%, 0.5%, 74.1%, 16.9%)
CIE-LABlab(82.31, -17.06, 71.86)
CIE-LCHlch(82.31, 73.85, 103.36°)
OKLaboklab(84.16% -0.0547 0.1577)
OKLCHoklch(84.16% 0.167 109.1)
XYZxyz(51.1371, 60.8630, 12.6677)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D337 #3738D4
analogous
#D48537 #D4D337 #86D437
triadic
#D4D337 #37D4D3 #D337D4
tetradic
#D4D337 #37D485 #3738D4 #D43786
square
#D4D337 #37D485 #3738D4 #D43786
split-complementary
#D4D337 #3786D4 #8537D4
monochromatic
#77761A #A9A924 #D4D337 #DFDE69 #EAE99C

Accessibility & contrast

On white

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

On black

13.17
#D4D337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D337
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D337#FFFFFF#000000##000000
##D4D3371.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA13
Deuteranopia (green-blind)
#E6CF44
Tritanopia (blue-blind)
#E3C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d337;
/* rgb */ color: rgb(212, 211, 55);
/* oklch */ color: oklch(84.2% 0.167 109.1);
Tailwind
colors: {
  custom: {
    50: '#e5e07a',
    500: '#d4d337',
    950: '#000000',
  },
}
SCSS
$custom: #d4d337;
$custom-light: #e5e07a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d337",
  "rgb": {
    "r": 212,
    "g": 211,
    "b": 55
  },
  "hsl": {
    "h": 59.618,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8416,
    "c": 0.16686,
    "h": 109.1
  },
  "luminance": 0.60861
}

Semantic roles & 50–950 ramp

primary
#D4D337
secondary
#30307F
accent
#41E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D337

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

Preview Lab → · Contrast checker → · Palette generator →

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