#D5D38E#D5D38E

#D5D38E is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.2% C 0.089 H 106.7°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D5D38E
RGBrgb(213, 211, 142)
HSLhsl(58, 46%, 70%)
HSVhsv(58, 33%, 84%)
CMYKcmyk(0%, 0.9%, 33.3%, 16.5%)
CIE-LABlab(83.28, -9.71, 34.48)
CIE-LCHlch(83.28, 35.83, 105.73°)
OKLaboklab(85.24% -0.0257 0.0853)
OKLCHoklch(85.24% 0.089 106.7)
XYZxyz(55.6178, 62.6887, 34.7562)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D38E #8E90D5
analogous
#D5B08E #D5D38E #B4D58E
triadic
#D5D38E #8ED5D3 #D38ED5
tetradic
#D5D38E #8ED5B0 #8E90D5 #D58EB4
square
#D5D38E #8ED5B0 #8E90D5 #D58EB4
split-complementary
#D5D38E #8EB4D5 #B08ED5
monochromatic
#AAA73F #C4C261 #D5D38E #E6E4BB #F6F6E7

Accessibility & contrast

On white

1.55
#D5D38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#D5D38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D38E
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D38E#FFFFFF#000000##000000
##D5D38E1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE89
Deuteranopia (green-blind)
#E0D191
Tritanopia (blue-blind)
#DFCBC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d38e;
/* rgb */ color: rgb(213, 211, 142);
/* oklch */ color: oklch(85.2% 0.089 106.7);
Tailwind
colors: {
  custom: {
    50: '#e3e0af',
    500: '#d5d38e',
    950: '#000000',
  },
}
SCSS
$custom: #d5d38e;
$custom-light: #e3e0af;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d38e",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 142
  },
  "hsl": {
    "h": 58.31,
    "s": 45.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85243,
    "c": 0.08911,
    "h": 106.7
  },
  "luminance": 0.62688
}

Semantic roles & 50–950 ramp

primary
#D5D38E
secondary
#5C5EAB
accent
#30B92C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D5D38E

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

Preview Lab → · Contrast checker → · Palette generator →

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