#D9D254#D9D254

#D9D254 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.6% C 0.146 H 106.1°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#D9D254
RGBrgb(217, 210, 84)
HSLhsl(57, 64%, 59%)
HSVhsv(57, 61%, 85%)
CMYKcmyk(0%, 3.2%, 61.3%, 14.9%)
CIE-LABlab(82.64, -12.95, 61.44)
CIE-LCHlch(82.64, 62.78, 101.90°)
OKLaboklab(84.59% -0.0405 0.1402)
OKLCHoklch(84.59% 0.146 106.1)
XYZxyz(53.2639, 61.4867, 17.4482)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D254 #545BD9
analogous
#D99054 #D9D254 #9ED954
triadic
#D9D254 #54D9D2 #D254D9
tetradic
#D9D254 #54D990 #545BD9 #D9549E
square
#D9D254 #54D990 #545BD9 #D9549E
split-complementary
#D9D254 #549ED9 #9054D9
monochromatic
#928C20 #C4BC2C #D9D254 #E4DF86 #EFECB8

Accessibility & contrast

On white

1.58
#D9D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#D9D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D254
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D254#FFFFFF#000000##000000
##D9D2541.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB45
Deuteranopia (green-blind)
#E6D05B
Tritanopia (blue-blind)
#E8C5B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d254;
/* rgb */ color: rgb(217, 210, 84);
/* oklch */ color: oklch(84.6% 0.146 106.1);
Tailwind
colors: {
  custom: {
    50: '#e8df89',
    500: '#d9d254',
    950: '#000000',
  },
}
SCSS
$custom: #d9d254;
$custom-light: #e8df89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d254",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 56.842,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84588,
    "c": 0.14592,
    "h": 106.1
  },
  "luminance": 0.61485
}

Semantic roles & 50–950 ramp

primary
#D9D254
secondary
#3A3F97
accent
#4AE741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D254

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

Preview Lab → · Contrast checker → · Palette generator →

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