#D4D241#D4D241

#D4D241 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.0% C 0.160 H 108.6°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D4D241
RGBrgb(212, 210, 65)
HSLhsl(59, 63%, 54%)
HSVhsv(59, 69%, 83%)
CMYKcmyk(0%, 0.9%, 69.3%, 16.9%)
CIE-LABlab(82.09, -16.11, 68.24)
CIE-LCHlch(82.09, 70.11, 103.29°)
OKLaboklab(84.01% -0.0511 0.1517)
OKLCHoklch(84.01% 0.16 108.6)
XYZxyz(51.1539, 60.4735, 13.9779)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D241 #4143D4
analogous
#D48941 #D4D241 #8CD441
triadic
#D4D241 #41D4D2 #D241D4
tetradic
#D4D241 #41D489 #4143D4 #D4418C
square
#D4D241 #41D489 #4143D4 #D4418C
split-complementary
#D4D241 #418CD4 #8941D4
monochromatic
#7E7D1D #B0AE28 #D4D241 #DFDE73 #EBEAA5

Accessibility & contrast

On white

1.60
#D4D241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D4D241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D241
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D241#FFFFFF#000000##000000
##D4D2411.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA29
Deuteranopia (green-blind)
#E5CE4B
Tritanopia (blue-blind)
#E3C5B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d241;
/* rgb */ color: rgb(212, 210, 65);
/* oklch */ color: oklch(84.0% 0.160 108.6);
Tailwind
colors: {
  custom: {
    50: '#e5df7f',
    500: '#d4d241',
    950: '#000000',
  },
}
SCSS
$custom: #d4d241;
$custom-light: #e5df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d241",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 65
  },
  "hsl": {
    "h": 59.184,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.84011,
    "c": 0.16012,
    "h": 108.6
  },
  "luminance": 0.60472
}

Semantic roles & 50–950 ramp

primary
#D4D241
secondary
#343585
accent
#44E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D241

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

Preview Lab → · Contrast checker → · Palette generator →

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