#D4D250#D4D250

#D4D250 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.150 H 108.4°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#D4D250
RGBrgb(212, 210, 80)
HSLhsl(59, 61%, 57%)
HSVhsv(59, 62%, 83%)
CMYKcmyk(0%, 0.9%, 62.3%, 16.9%)
CIE-LABlab(82.20, -15.27, 62.52)
CIE-LCHlch(82.20, 64.36, 103.73°)
OKLaboklab(84.13% -0.0472 0.142)
OKLCHoklch(84.13% 0.15 108.4)
XYZxyz(51.6476, 60.6709, 16.5779)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D250 #5052D4
analogous
#D49050 #D4D250 #94D450
triadic
#D4D250 #50D4D2 #D250D4
tetradic
#D4D250 #50D490 #5052D4 #D45094
square
#D4D250 #50D490 #5052D4 #D45094
split-complementary
#D4D250 #5094D4 #9050D4
monochromatic
#888721 #B9B72E #D4D250 #E0DF81 #ECEBB2

Accessibility & contrast

On white

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

On black

13.13
#D4D250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D250
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D250#FFFFFF#000000##000000
##D4D2501.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA40
Deuteranopia (green-blind)
#E4CF58
Tritanopia (blue-blind)
#E2C5B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d250;
/* rgb */ color: rgb(212, 210, 80);
/* oklch */ color: oklch(84.1% 0.150 108.4);
Tailwind
colors: {
  custom: {
    50: '#e4df87',
    500: '#d4d250',
    950: '#000000',
  },
}
SCSS
$custom: #d4d250;
$custom-light: #e4df87;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d250",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 59.091,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8413,
    "c": 0.14967,
    "h": 108.4
  },
  "luminance": 0.60669
}

Semantic roles & 50–950 ramp

primary
#D4D250
secondary
#3A3B8F
accent
#47E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D250

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

Preview Lab → · Contrast checker → · Palette generator →

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