#D5D139#D5D139

#D5D139 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.8% C 0.164 H 107.9°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D5D139
RGBrgb(213, 209, 57)
HSLhsl(58, 65%, 53%)
HSVhsv(58, 73%, 84%)
CMYKcmyk(0%, 1.9%, 73.2%, 16.5%)
CIE-LABlab(81.86, -15.57, 70.82)
CIE-LCHlch(81.86, 72.51, 102.40°)
OKLaboklab(83.83% -0.0504 0.1558)
OKLCHoklch(83.83% 0.164 107.9)
XYZxyz(50.9815, 60.0442, 12.7743)
Luminance0.6004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D139 #393DD5
analogous
#D58339 #D5D139 #8BD539
triadic
#D5D139 #39D5D1 #D139D5
tetradic
#D5D139 #39D583 #393DD5 #D5398B
square
#D5D139 #39D583 #393DD5 #D5398B
split-complementary
#D5D139 #398BD5 #8339D5
monochromatic
#7A771A #ACA925 #D5D139 #E0DD6B #EAE89E

Accessibility & contrast

On white

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

On black

13.01
#D5D139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D139
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D139#FFFFFF#000000##000000
##D5D1391.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C919
Deuteranopia (green-blind)
#E5CE45
Tritanopia (blue-blind)
#E4C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d139;
/* rgb */ color: rgb(213, 209, 57);
/* oklch */ color: oklch(83.8% 0.164 107.9);
Tailwind
colors: {
  custom: {
    50: '#e6de7a',
    500: '#d5d139',
    950: '#000000',
  },
}
SCSS
$custom: #d5d139;
$custom-light: #e6de7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d139",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 57
  },
  "hsl": {
    "h": 58.462,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8383,
    "c": 0.16371,
    "h": 107.9
  },
  "luminance": 0.60042
}

Semantic roles & 50–950 ramp

primary
#D5D139
secondary
#313382
accent
#44E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D139

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

Preview Lab → · Contrast checker → · Palette generator →

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