#D4D950#D4D950

#D4D950 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.157 H 111.3°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D4D950
RGBrgb(212, 217, 80)
HSLhsl(62, 64%, 58%)
HSVhsv(62, 63%, 85%)
CMYKcmyk(2.3%, 0%, 63.1%, 14.9%)
CIE-LABlab(84.07, -18.73, 64.49)
CIE-LCHlch(84.07, 67.16, 106.19°)
OKLaboklab(85.62% -0.057 0.1462)
OKLCHoklch(85.62% 0.157 111.3)
XYZxyz(53.4138, 64.2032, 17.1666)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D950 #5550D9
analogous
#D99950 #D4D950 #8FD950
triadic
#D4D950 #50D4D9 #D950D4
tetradic
#D4D950 #50D999 #5550D9 #D9508F
square
#D4D950 #50D999 #5550D9 #D9508F
split-complementary
#D4D950 #508FD9 #9950D9
monochromatic
#8B8F1F #BCC22A #D4D950 #E0E482 #EDEFB5

Accessibility & contrast

On white

1.52
#D4D950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#D4D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D950
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D950#FFFFFF#000000##000000
##D4D9501.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03E
Deuteranopia (green-blind)
#EAD359
Tritanopia (blue-blind)
#E2CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4d950;
/* rgb */ color: rgb(212, 217, 80);
/* oklch */ color: oklch(85.6% 0.157 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e487',
    500: '#d4d950',
    950: '#000000',
  },
}
SCSS
$custom: #d4d950;
$custom-light: #e4e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d950",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 62.19,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85623,
    "c": 0.15691,
    "h": 111.3
  },
  "luminance": 0.64202
}

Semantic roles & 50–950 ramp

primary
#D4D950
secondary
#3C3895
accent
#40E747
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D950

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

Preview Lab → · Contrast checker → · Palette generator →

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