#D9D258#D9D258

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

Color values

HEX#D9D258
RGBrgb(217, 210, 88)
HSLhsl(57, 63%, 60%)
HSVhsv(57, 59%, 85%)
CMYKcmyk(0%, 3.2%, 59.4%, 14.9%)
CIE-LABlab(82.67, -12.68, 59.76)
CIE-LCHlch(82.67, 61.09, 101.98°)
OKLaboklab(84.63% -0.0393 0.1372)
OKLCHoklch(84.63% 0.143 106)
XYZxyz(53.4251, 61.5512, 18.2970)
Luminance0.6155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D258 #585FD9
analogous
#D99158 #D9D258 #A0D958
triadic
#D9D258 #58D9D2 #D258D9
tetradic
#D9D258 #58D991 #585FD9 #D958A0
square
#D9D258 #58D991 #585FD9 #D958A0
split-complementary
#D9D258 #58A0D9 #9158D9
monochromatic
#958F22 #C7BE2D #D9D258 #E4DF8A #F0EDBC

Accessibility & contrast

On white

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

On black

13.31
#D9D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D258
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D258#FFFFFF#000000##000000
##D9D2581.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4A
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#E8C5B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d258;
/* rgb */ color: rgb(217, 210, 88);
/* oklch */ color: oklch(84.6% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#e8df8c',
    500: '#d9d258',
    950: '#000000',
  },
}
SCSS
$custom: #d9d258;
$custom-light: #e8df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d258",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 56.744,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84626,
    "c": 0.14269,
    "h": 106
  },
  "luminance": 0.61549
}

Semantic roles & 50–950 ramp

primary
#D9D258
secondary
#3C419A
accent
#4BE642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D258

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

Preview Lab → · Contrast checker → · Palette generator →

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