#D4D050#D4D050

#D4D050 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.7% C 0.148 H 107.5°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D4D050
RGBrgb(212, 208, 80)
HSLhsl(58, 61%, 57%)
HSVhsv(58, 62%, 83%)
CMYKcmyk(0%, 1.9%, 62.3%, 16.9%)
CIE-LABlab(81.67, -14.27, 61.95)
CIE-LCHlch(81.67, 63.57, 102.97°)
OKLaboklab(83.71% -0.0444 0.1408)
OKLCHoklch(83.71% 0.148 107.5)
XYZxyz(51.1569, 59.6896, 16.4143)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D050 #5054D4
analogous
#D48E50 #D4D050 #96D450
triadic
#D4D050 #50D4D0 #D050D4
tetradic
#D4D050 #50D48E #5054D4 #D45096
square
#D4D050 #50D48E #5054D4 #D45096
split-complementary
#D4D050 #5096D4 #8E50D4
monochromatic
#888521 #B9B52E #D4D050 #E0DD81 #ECEAB2

Accessibility & contrast

On white

1.62
#D4D050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D4D050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D050
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D050#FFFFFF#000000##000000
##D4D0501.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C840
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#E2C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d050;
/* rgb */ color: rgb(212, 208, 80);
/* oklch */ color: oklch(83.7% 0.148 107.5);
Tailwind
colors: {
  custom: {
    50: '#e4de87',
    500: '#d4d050',
    950: '#000000',
  },
}
SCSS
$custom: #d4d050;
$custom-light: #e4de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d050",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 80
  },
  "hsl": {
    "h": 58.182,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83706,
    "c": 0.14767,
    "h": 107.5
  },
  "luminance": 0.59688
}

Semantic roles & 50–950 ramp

primary
#D4D050
secondary
#3A3C8F
accent
#49E444
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D050

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

Preview Lab → · Contrast checker → · Palette generator →

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