#D9D45E#D9D45E

#D9D45E is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.1% C 0.140 H 106.8°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#D9D45E
RGBrgb(217, 212, 94)
HSLhsl(58, 62%, 61%)
HSVhsv(58, 57%, 85%)
CMYKcmyk(0%, 2.3%, 56.7%, 14.9%)
CIE-LABlab(83.26, -13.25, 57.77)
CIE-LCHlch(83.26, 59.28, 102.92°)
OKLaboklab(85.11% -0.0403 0.1337)
OKLCHoklch(85.11% 0.14 106.8)
XYZxyz(54.1808, 62.6485, 19.8258)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D45E #5E63D9
analogous
#D9965E #D9D45E #A0D95E
triadic
#D9D45E #5ED9D4 #D45ED9
tetradic
#D9D45E #5ED996 #5E63D9 #D95EA0
square
#D9D45E #5ED996 #5E63D9 #D95EA0
split-complementary
#D9D45E #5EA0D9 #965ED9
monochromatic
#999424 #CAC430 #D9D45E #E5E190 #F0EEC1

Accessibility & contrast

On white

1.55
#D9D45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#D9D45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D45E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D45E#FFFFFF#000000##000000
##D9D45E1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD52
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#E7C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d45e;
/* rgb */ color: rgb(217, 212, 94);
/* oklch */ color: oklch(85.1% 0.140 106.8);
Tailwind
colors: {
  custom: {
    50: '#e7e190',
    500: '#d9d45e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d45e;
$custom-light: #e7e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d45e",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 57.561,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85108,
    "c": 0.13963,
    "h": 106.8
  },
  "luminance": 0.62647
}

Semantic roles & 50–950 ramp

primary
#D9D45E
secondary
#3E429D
accent
#23CA1C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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