#D5D15D#D5D15D

#D5D15D is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.138 H 107.2°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D5D15D
RGBrgb(213, 209, 93)
HSLhsl(58, 59%, 60%)
HSVhsv(58, 56%, 84%)
CMYKcmyk(0%, 1.9%, 56.3%, 16.5%)
CIE-LABlab(82.13, -13.46, 56.87)
CIE-LCHlch(82.13, 58.44, 103.32°)
OKLaboklab(84.13% -0.0407 0.1317)
OKLCHoklch(84.13% 0.138 107.2)
XYZxyz(52.2184, 60.5389, 19.2883)
Luminance0.6054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D15D #5D61D5
analogous
#D5955D #D5D15D #9DD55D
triadic
#D5D15D #5DD5D1 #D15DD5
tetradic
#D5D15D #5DD595 #5D61D5 #D55D9D
square
#D5D15D #5DD595 #5D61D5 #D55D9D
split-complementary
#D5D15D #5D9DD5 #955DD5
monochromatic
#928E26 #C2BE32 #D5D15D #E2DF8E #EEEDBE

Accessibility & contrast

On white

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

On black

13.11
#D5D15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D15D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D15D#FFFFFF#000000##000000
##D5D15D1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA51
Deuteranopia (green-blind)
#E3CE63
Tritanopia (blue-blind)
#E3C5B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d15d;
/* rgb */ color: rgb(213, 209, 93);
/* oklch */ color: oklch(84.1% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#e4de8f',
    500: '#d5d15d',
    950: '#000000',
  },
}
SCSS
$custom: #d5d15d;
$custom-light: #e4de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d15d",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 93
  },
  "hsl": {
    "h": 58,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.84129,
    "c": 0.13786,
    "h": 107.2
  },
  "luminance": 0.60537
}

Semantic roles & 50–950 ramp

primary
#D5D15D
secondary
#3F4297
accent
#4BE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D15D

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

Preview Lab → · Contrast checker → · Palette generator →

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