#D5D38D#D5D38D

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

Color values

HEX#D5D38D
RGBrgb(213, 211, 141)
HSLhsl(58, 46%, 69%)
HSVhsv(58, 34%, 84%)
CMYKcmyk(0%, 0.9%, 33.8%, 16.5%)
CIE-LABlab(83.26, -9.83, 34.98)
CIE-LCHlch(83.26, 36.33, 105.70°)
OKLaboklab(85.23% -0.0261 0.0865)
OKLCHoklch(85.23% 0.09 106.8)
XYZxyz(55.5431, 62.6588, 34.3626)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D38D #8D8FD5
analogous
#D5AF8D #D5D38D #B3D58D
triadic
#D5D38D #8DD5D3 #D38DD5
tetradic
#D5D38D #8DD5AF #8D8FD5 #D58DB3
square
#D5D38D #8DD5AF #8D8FD5 #D58DB3
split-complementary
#D5D38D #8DB3D5 #AF8DD5
monochromatic
#A9A63E #C5C260 #D5D38D #E5E4BA #F6F6E6

Accessibility & contrast

On white

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

On black

13.53
#D5D38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D38D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D38D#FFFFFF#000000##000000
##D5D38D1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE88
Deuteranopia (green-blind)
#E0D190
Tritanopia (blue-blind)
#DFCAC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d38d;
/* rgb */ color: rgb(213, 211, 141);
/* oklch */ color: oklch(85.2% 0.090 106.8);
Tailwind
colors: {
  custom: {
    50: '#e3e0af',
    500: '#d5d38d',
    950: '#000000',
  },
}
SCSS
$custom: #d5d38d;
$custom-light: #e3e0af;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d38d",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 141
  },
  "hsl": {
    "h": 58.333,
    "s": 46.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.85226,
    "c": 0.09029,
    "h": 106.8
  },
  "luminance": 0.62658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5D38D

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

Preview Lab → · Contrast checker → · Palette generator →

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