#D9D140#D9D140

#D9D140 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.159 H 106.2°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D9D140
RGBrgb(217, 209, 64)
HSLhsl(57, 67%, 55%)
HSVhsv(57, 71%, 85%)
CMYKcmyk(0%, 3.7%, 70.5%, 14.9%)
CIE-LABlab(82.23, -13.57, 68.87)
CIE-LCHlch(82.23, 70.19, 101.15°)
OKLaboklab(84.22% -0.0443 0.1527)
OKLCHoklch(84.22% 0.159 106.2)
XYZxyz(52.3432, 60.7247, 13.8133)
Luminance0.6072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D140 #4048D9
analogous
#D98540 #D9D140 #94D940
triadic
#D9D140 #40D9D1 #D140D9
tetradic
#D9D140 #40D985 #4048D9 #D94094
square
#D9D140 #40D985 #4048D9 #D94094
split-complementary
#D9D140 #4094D9 #8540D9
monochromatic
#847F1A #B7B024 #D9D140 #E3DD73 #EDEAA6

Accessibility & contrast

On white

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

On black

13.14
#D9D140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D140
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D140#FFFFFF#000000##000000
##D9D1401.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C927
Deuteranopia (green-blind)
#E6CF4A
Tritanopia (blue-blind)
#E9C3B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d140;
/* rgb */ color: rgb(217, 209, 64);
/* oklch */ color: oklch(84.2% 0.159 106.2);
Tailwind
colors: {
  custom: {
    50: '#e8de7e',
    500: '#d9d140',
    950: '#000000',
  },
}
SCSS
$custom: #d9d140;
$custom-light: #e8de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d140",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 56.863,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84216,
    "c": 0.15904,
    "h": 106.2
  },
  "luminance": 0.60723
}

Semantic roles & 50–950 ramp

primary
#D9D140
secondary
#32378B
accent
#47EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D140

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

Preview Lab → · Contrast checker → · Palette generator →

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