#D4D841#D4D841

#D4D841 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.166 H 111.0°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D4D841
RGBrgb(212, 216, 65)
HSLhsl(62, 66%, 55%)
HSVhsv(62, 70%, 85%)
CMYKcmyk(1.9%, 0%, 69.9%, 15.3%)
CIE-LABlab(83.70, -19.07, 69.81)
CIE-LCHlch(83.70, 72.37, 105.28°)
OKLaboklab(85.29% -0.0594 0.1551)
OKLCHoklch(85.29% 0.166 111)
XYZxyz(52.6631, 63.4918, 14.4810)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D841 #4541D8
analogous
#D89041 #D4D841 #89D841
triadic
#D4D841 #41D4D8 #D841D4
tetradic
#D4D841 #41D890 #4541D8 #D84189
square
#D4D841 #41D890 #4541D8 #D84189
split-complementary
#D4D841 #4189D8 #9041D8
monochromatic
#81841B #B3B625 #D4D841 #DFE274 #EBEDA7

Accessibility & contrast

On white

1.53
#D4D841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D4D841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D841
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D841#FFFFFF#000000##000000
##D4D8411.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE27
Deuteranopia (green-blind)
#EAD34C
Tritanopia (blue-blind)
#E3CBBA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d841;
/* rgb */ color: rgb(212, 216, 65);
/* oklch */ color: oklch(85.3% 0.166 111.0);
Tailwind
colors: {
  custom: {
    50: '#e5e37f',
    500: '#d4d841',
    950: '#000000',
  },
}
SCSS
$custom: #d4d841;
$custom-light: #e5e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d841",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 65
  },
  "hsl": {
    "h": 61.589,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.85293,
    "c": 0.16604,
    "h": 111
  },
  "luminance": 0.6349
}

Semantic roles & 50–950 ramp

primary
#D4D841
secondary
#35338A
accent
#3FE943
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D841

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

Preview Lab → · Contrast checker → · Palette generator →

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