#D5D85E#D5D85E

#D5D85E is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.144 H 110.4°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#D5D85E
RGBrgb(213, 216, 94)
HSLhsl(61, 61%, 61%)
HSVhsv(61, 56%, 85%)
CMYKcmyk(1.4%, 0%, 56.5%, 15.3%)
CIE-LABlab(84.00, -16.88, 58.52)
CIE-LCHlch(84.00, 60.91, 106.09°)
OKLaboklab(85.62% -0.0503 0.1354)
OKLCHoklch(85.62% 0.144 110.4)
XYZxyz(54.0182, 64.0673, 20.1082)
Luminance0.6407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D85E #615ED8
analogous
#D89E5E #D5D85E #98D85E
triadic
#D5D85E #5ED5D8 #D85ED5
tetradic
#D5D85E #5ED89E #615ED8 #D85E98
square
#D5D85E #5ED89E #615ED8 #D85E98
split-complementary
#D5D85E #5E98D8 #9E5ED8
monochromatic
#949725 #C5C831 #D5D85E #E2E48F #EFF0C1

Accessibility & contrast

On white

1.52
#D5D85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#D5D85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D85E
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D85E#FFFFFF#000000##000000
##D5D85E1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF51
Deuteranopia (green-blind)
#E8D365
Tritanopia (blue-blind)
#E2CCBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d85e;
/* rgb */ color: rgb(213, 216, 94);
/* oklch */ color: oklch(85.6% 0.144 110.4);
Tailwind
colors: {
  custom: {
    50: '#e4e390',
    500: '#d5d85e',
    950: '#000000',
  },
}
SCSS
$custom: #d5d85e;
$custom-light: #e4e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d85e",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 61.475,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85624,
    "c": 0.14441,
    "h": 110.4
  },
  "luminance": 0.64066
}

Semantic roles & 50–950 ramp

primary
#D5D85E
secondary
#413F9C
accent
#1DC921
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D85E

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

Preview Lab → · Contrast checker → · Palette generator →

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