#D9D250#D9D250

#D9D250 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.6% C 0.149 H 106.2°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D9D250
RGBrgb(217, 210, 80)
HSLhsl(57, 64%, 58%)
HSVhsv(57, 63%, 85%)
CMYKcmyk(0%, 3.2%, 63.1%, 14.9%)
CIE-LABlab(82.61, -13.20, 63.07)
CIE-LCHlch(82.61, 64.44, 101.82°)
OKLaboklab(84.55% -0.0416 0.1431)
OKLCHoklch(84.55% 0.149 106.2)
XYZxyz(53.1117, 61.4259, 16.6465)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D250 #5057D9
analogous
#D98D50 #D9D250 #9BD950
triadic
#D9D250 #50D9D2 #D250D9
tetradic
#D9D250 #50D98D #5057D9 #D9509B
square
#D9D250 #50D98D #5057D9 #D9509B
split-complementary
#D9D250 #509BD9 #8D50D9
monochromatic
#8F8A1F #C2BA2A #D9D250 #E4DF82 #EFECB5

Accessibility & contrast

On white

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

On black

13.28
#D9D250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D250
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D250#FFFFFF#000000##000000
##D9D2501.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d250;
/* rgb */ color: rgb(217, 210, 80);
/* oklch */ color: oklch(84.6% 0.149 106.2);
Tailwind
colors: {
  custom: {
    50: '#e8df87',
    500: '#d9d250',
    950: '#000000',
  },
}
SCSS
$custom: #d9d250;
$custom-light: #e8df87;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d250",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 56.934,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84552,
    "c": 0.14901,
    "h": 106.2
  },
  "luminance": 0.61424
}

Semantic roles & 50–950 ramp

primary
#D9D250
secondary
#383D95
accent
#49E740
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D250

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

Preview Lab → · Contrast checker → · Palette generator →

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