#D9D451#D9D451

#D9D451 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.150 H 107.1°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#D9D451
RGBrgb(217, 212, 81)
HSLhsl(58, 64%, 58%)
HSVhsv(58, 63%, 85%)
CMYKcmyk(0%, 2.3%, 62.7%, 14.9%)
CIE-LABlab(83.14, -14.14, 63.23)
CIE-LCHlch(83.14, 64.79, 102.60°)
OKLaboklab(84.98% -0.0442 0.1436)
OKLCHoklch(84.98% 0.15 107.1)
XYZxyz(53.6458, 62.4345, 17.0082)
Luminance0.6243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D451 #5156D9
analogous
#D99051 #D9D451 #9AD951
triadic
#D9D451 #51D9D4 #D451D9
tetradic
#D9D451 #51D990 #5156D9 #D9519A
square
#D9D451 #51D990 #5156D9 #D9519A
split-complementary
#D9D451 #519AD9 #9051D9
monochromatic
#908C1F #C2BD2A #D9D451 #E4E083 #EFEDB5

Accessibility & contrast

On white

1.56
#D9D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#D9D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D451
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D451#FFFFFF#000000##000000
##D9D4511.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC41
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#E8C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d451;
/* rgb */ color: rgb(217, 212, 81);
/* oklch */ color: oklch(85.0% 0.150 107.1);
Tailwind
colors: {
  custom: {
    50: '#e8e188',
    500: '#d9d451',
    950: '#000000',
  },
}
SCSS
$custom: #d9d451;
$custom-light: #e8e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d451",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 57.794,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84982,
    "c": 0.15019,
    "h": 107.1
  },
  "luminance": 0.62433
}

Semantic roles & 50–950 ramp

primary
#D9D451
secondary
#393C95
accent
#47E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D451

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

Preview Lab → · Contrast checker → · Palette generator →

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