#D4D041#D4D041

#D4D041 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.158 H 107.8°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D4D041
RGBrgb(212, 208, 65)
HSLhsl(58, 63%, 54%)
HSVhsv(58, 69%, 83%)
CMYKcmyk(0%, 1.9%, 69.3%, 16.9%)
CIE-LABlab(81.56, -15.12, 67.71)
CIE-LCHlch(81.56, 69.38, 102.59°)
OKLaboklab(83.59% -0.0483 0.1506)
OKLCHoklch(83.59% 0.158 107.8)
XYZxyz(50.6633, 59.4921, 13.8144)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D041 #4145D4
analogous
#D48641 #D4D041 #8FD441
triadic
#D4D041 #41D4D0 #D041D4
tetradic
#D4D041 #41D486 #4145D4 #D4418F
square
#D4D041 #41D486 #4145D4 #D4418F
split-complementary
#D4D041 #418FD4 #8641D4
monochromatic
#7E7B1D #B0AC28 #D4D041 #DFDC73 #EBE9A5

Accessibility & contrast

On white

1.63
#D4D041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D4D041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D041
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D041#FFFFFF#000000##000000
##D4D0411.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82A
Deuteranopia (green-blind)
#E4CD4B
Tritanopia (blue-blind)
#E3C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d041;
/* rgb */ color: rgb(212, 208, 65);
/* oklch */ color: oklch(83.6% 0.158 107.8);
Tailwind
colors: {
  custom: {
    50: '#e5de7e',
    500: '#d4d041',
    950: '#000000',
  },
}
SCSS
$custom: #d4d041;
$custom-light: #e5de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d041",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 65
  },
  "hsl": {
    "h": 58.367,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83585,
    "c": 0.15819,
    "h": 107.8
  },
  "luminance": 0.5949
}

Semantic roles & 50–950 ramp

primary
#D4D041
secondary
#343685
accent
#46E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D041

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

Preview Lab → · Contrast checker → · Palette generator →

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