#D9D255#D9D255

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

Color values

HEX#D9D255
RGBrgb(217, 210, 85)
HSLhsl(57, 63%, 59%)
HSVhsv(57, 61%, 85%)
CMYKcmyk(0%, 3.2%, 60.8%, 14.9%)
CIE-LABlab(82.65, -12.88, 61.02)
CIE-LCHlch(82.65, 62.37, 101.92°)
OKLaboklab(84.6% -0.0402 0.1395)
OKLCHoklch(84.6% 0.145 106.1)
XYZxyz(53.3034, 61.5025, 17.6559)
Luminance0.6150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D255 #555CD9
analogous
#D99055 #D9D255 #9ED955
triadic
#D9D255 #55D9D2 #D255D9
tetradic
#D9D255 #55D990 #555CD9 #D9559E
square
#D9D255 #55D990 #555CD9 #D9559E
split-complementary
#D9D255 #559ED9 #9055D9
monochromatic
#938D21 #C5BD2C #D9D255 #E4DF87 #EFECB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D255#FFFFFF#000000##000000
##D9D2551.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)
#E3CB46
Deuteranopia (green-blind)
#E6D05C
Tritanopia (blue-blind)
#E8C5B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d255;
/* rgb */ color: rgb(217, 210, 85);
/* oklch */ color: oklch(84.6% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e8df8a',
    500: '#d9d255',
    950: '#000000',
  },
}
SCSS
$custom: #d9d255;
$custom-light: #e8df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d255",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 56.818,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84597,
    "c": 0.14513,
    "h": 106.1
  },
  "luminance": 0.61501
}

Semantic roles & 50–950 ramp

primary
#D9D255
secondary
#3A3F98
accent
#4AE641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D255

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

Preview Lab → · Contrast checker → · Palette generator →

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