#D9D25A#D9D25A

#D9D25A is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.6% C 0.141 H 105.9°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#D9D25A
RGBrgb(217, 210, 90)
HSLhsl(57, 63%, 60%)
HSVhsv(57, 59%, 85%)
CMYKcmyk(0%, 3.2%, 58.5%, 14.9%)
CIE-LABlab(82.69, -12.54, 58.91)
CIE-LCHlch(82.69, 60.23, 102.02°)
OKLaboklab(84.65% -0.0387 0.1356)
OKLCHoklch(84.65% 0.141 105.9)
XYZxyz(53.5091, 61.5848, 18.7393)
Luminance0.6158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D25A #5A61D9
analogous
#D9925A #D9D25A #A0D95A
triadic
#D9D25A #5AD9D2 #D25AD9
tetradic
#D9D25A #5AD992 #5A61D9 #D95AA0
square
#D9D25A #5AD992 #5A61D9 #D95AA0
split-complementary
#D9D25A #5AA0D9 #925AD9
monochromatic
#969023 #C8BF2E #D9D25A #E4E08C #F0EDBD

Accessibility & contrast

On white

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

On black

13.32
#D9D25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D25A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D25A#FFFFFF#000000##000000
##D9D25A1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d25a;
/* rgb */ color: rgb(217, 210, 90);
/* oklch */ color: oklch(84.6% 0.141 105.9);
Tailwind
colors: {
  custom: {
    50: '#e7df8d',
    500: '#d9d25a',
    950: '#000000',
  },
}
SCSS
$custom: #d9d25a;
$custom-light: #e7df8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d25a",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 90
  },
  "hsl": {
    "h": 56.693,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84647,
    "c": 0.14103,
    "h": 105.9
  },
  "luminance": 0.61583
}

Semantic roles & 50–950 ramp

primary
#D9D25A
secondary
#3C429B
accent
#25CA1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D25A

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

Preview Lab → · Contrast checker → · Palette generator →

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