#D9D057#D9D057

#D9D057 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.2% C 0.142 H 105.0°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D9D057
RGBrgb(217, 208, 87)
HSLhsl(56, 63%, 60%)
HSVhsv(56, 60%, 85%)
CMYKcmyk(0%, 4.1%, 59.9%, 14.9%)
CIE-LABlab(82.14, -11.74, 59.61)
CIE-LCHlch(82.14, 60.75, 101.14°)
OKLaboklab(84.2% -0.0367 0.1367)
OKLCHoklch(84.2% 0.142 105)
XYZxyz(52.8933, 60.5534, 17.9168)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D057 #5760D9
analogous
#D98F57 #D9D057 #A1D957
triadic
#D9D057 #57D9D0 #D057D9
tetradic
#D9D057 #57D98F #5760D9 #D957A1
square
#D9D057 #57D98F #5760D9 #D957A1
split-complementary
#D9D057 #57A1D9 #8F57D9
monochromatic
#948C21 #C6BB2D #D9D057 #E4DE89 #F0ECBB

Accessibility & contrast

On white

1.60
#D9D057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#D9D057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D057
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D057#FFFFFF#000000##000000
##D9D0571.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C949
Deuteranopia (green-blind)
#E4CF5E
Tritanopia (blue-blind)
#E8C3B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9d057;
/* rgb */ color: rgb(217, 208, 87);
/* oklch */ color: oklch(84.2% 0.142 105.0);
Tailwind
colors: {
  custom: {
    50: '#e8de8b',
    500: '#d9d057',
    950: '#000000',
  },
}
SCSS
$custom: #d9d057;
$custom-light: #e8de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d057",
  "rgb": {
    "r": 217,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 55.846,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84197,
    "c": 0.14156,
    "h": 105
  },
  "luminance": 0.60552
}

Semantic roles & 50–950 ramp

primary
#D9D057
secondary
#3B4299
accent
#4DE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D057

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

Preview Lab → · Contrast checker → · Palette generator →

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