#D5D140#D5D140

#D5D140 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.9% C 0.160 H 107.8°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D5D140
RGBrgb(213, 209, 64)
HSLhsl(58, 64%, 54%)
HSVhsv(58, 70%, 84%)
CMYKcmyk(0%, 1.9%, 70%, 16.5%)
CIE-LABlab(81.90, -15.25, 68.44)
CIE-LCHlch(81.90, 70.11, 102.56°)
OKLaboklab(83.88% -0.0488 0.152)
OKLCHoklch(83.88% 0.16 107.8)
XYZxyz(51.1684, 60.1189, 13.7583)
Luminance0.6012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D140 #4044D5
analogous
#D58740 #D5D140 #8FD540
triadic
#D5D140 #40D5D1 #D140D5
tetradic
#D5D140 #40D587 #4044D5 #D5408F
square
#D5D140 #40D587 #4044D5 #D5408F
split-complementary
#D5D140 #408FD5 #8740D5
monochromatic
#7F7C1C #B1AD27 #D5D140 #E0DD72 #EBE9A4

Accessibility & contrast

On white

1.61
#D5D140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D5D140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D140
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D140#FFFFFF#000000##000000
##D5D1401.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#E5CE4A
Tritanopia (blue-blind)
#E4C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d140;
/* rgb */ color: rgb(213, 209, 64);
/* oklch */ color: oklch(83.9% 0.160 107.8);
Tailwind
colors: {
  custom: {
    50: '#e6de7e',
    500: '#d5d140',
    950: '#000000',
  },
}
SCSS
$custom: #d5d140;
$custom-light: #e6de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d140",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 58.389,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83875,
    "c": 0.15961,
    "h": 107.8
  },
  "luminance": 0.60117
}

Semantic roles & 50–950 ramp

primary
#D5D140
secondary
#333586
accent
#45E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D140

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

Preview Lab → · Contrast checker → · Palette generator →

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