#D9D253#D9D253

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

Color values

HEX#D9D253
RGBrgb(217, 210, 83)
HSLhsl(57, 64%, 59%)
HSVhsv(57, 62%, 85%)
CMYKcmyk(0%, 3.2%, 61.8%, 14.9%)
CIE-LABlab(82.63, -13.01, 61.85)
CIE-LCHlch(82.63, 63.20, 101.88°)
OKLaboklab(84.58% -0.0408 0.1409)
OKLCHoklch(84.58% 0.147 106.1)
XYZxyz(53.2250, 61.4712, 17.2434)
Luminance0.6147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D253 #535AD9
analogous
#D98F53 #D9D253 #9DD953
triadic
#D9D253 #53D9D2 #D253D9
tetradic
#D9D253 #53D98F #535AD9 #D9539D
square
#D9D253 #53D98F #535AD9 #D9539D
split-complementary
#D9D253 #539DD9 #8F53D9
monochromatic
#918C20 #C4BC2B #D9D253 #E4DF85 #EFECB7

Accessibility & contrast

On white

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

On black

13.29
#D9D253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D253
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D253#FFFFFF#000000##000000
##D9D2531.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d253;
/* rgb */ color: rgb(217, 210, 83);
/* oklch */ color: oklch(84.6% 0.147 106.1);
Tailwind
colors: {
  custom: {
    50: '#e8df89',
    500: '#d9d253',
    950: '#000000',
  },
}
SCSS
$custom: #d9d253;
$custom-light: #e8df89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d253",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 83
  },
  "hsl": {
    "h": 56.866,
    "s": 63.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84579,
    "c": 0.1467,
    "h": 106.1
  },
  "luminance": 0.61469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D253

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

Preview Lab → · Contrast checker → · Palette generator →

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