#D1D140#D1D140

#D1D140 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.160 H 109.4°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D1D140
RGBrgb(209, 209, 64)
HSLhsl(60, 61%, 54%)
HSVhsv(60, 69%, 82%)
CMYKcmyk(0%, 0%, 69.4%, 18%)
CIE-LABlab(81.58, -16.92, 68.01)
CIE-LCHlch(81.58, 70.09, 103.97°)
OKLaboklab(83.54% -0.0533 0.1512)
OKLCHoklch(83.54% 0.16 109.4)
XYZxyz(50.0221, 59.5279, 13.7045)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D140 #4040D1
analogous
#D18840 #D1D140 #88D140
triadic
#D1D140 #40D1D1 #D140D1
tetradic
#D1D140 #40D188 #4040D1 #D14088
square
#D1D140 #40D188 #4040D1 #D14088
split-complementary
#D1D140 #4088D1 #8840D1
monochromatic
#79791D #ABAB29 #D1D140 #DDDD71 #E9E9A3

Accessibility & contrast

On white

1.63
#D1D140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D1D140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D140
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D140#FFFFFF#000000##000000
##D1D1401.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C828
Deuteranopia (green-blind)
#E3CD4B
Tritanopia (blue-blind)
#E0C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d140;
/* rgb */ color: rgb(209, 209, 64);
/* oklch */ color: oklch(83.5% 0.160 109.4);
Tailwind
colors: {
  custom: {
    50: '#e3de7e',
    500: '#d1d140',
    950: '#000000',
  },
}
SCSS
$custom: #d1d140;
$custom-light: #e3de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d140",
  "rgb": {
    "r": 209,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8354,
    "c": 0.16031,
    "h": 109.4
  },
  "luminance": 0.59526
}

Semantic roles & 50–950 ramp

primary
#D1D140
secondary
#343481
accent
#44E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1D140

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

Preview Lab → · Contrast checker → · Palette generator →

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