#D5D18E#D5D18E

#D5D18E is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 84.8% C 0.087 H 105.2°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D5D18E
RGBrgb(213, 209, 142)
HSLhsl(57, 46%, 70%)
HSVhsv(57, 33%, 84%)
CMYKcmyk(0%, 1.9%, 33.3%, 16.5%)
CIE-LABlab(82.75, -8.70, 33.80)
CIE-LCHlch(82.75, 34.90, 104.43°)
OKLaboklab(84.83% -0.0227 0.0837)
OKLCHoklch(84.83% 0.087 105.2)
XYZxyz(55.1241, 61.7012, 34.5916)
Luminance0.6170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D18E #8E92D5
analogous
#D5AE8E #D5D18E #B6D58E
triadic
#D5D18E #8ED5D1 #D18ED5
tetradic
#D5D18E #8ED5AE #8E92D5 #D58EB6
square
#D5D18E #8ED5AE #8E92D5 #D58EB6
split-complementary
#D5D18E #8EB6D5 #AE8ED5
monochromatic
#AAA43F #C4BF61 #D5D18E #E6E3BB #F6F5E7

Accessibility & contrast

On white

1.57
#D5D18E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D5D18E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D18E
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D18E#FFFFFF#000000##000000
##D5D18E1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC89
Deuteranopia (green-blind)
#DED091
Tritanopia (blue-blind)
#DFC9C0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d18e;
/* rgb */ color: rgb(213, 209, 142);
/* oklch */ color: oklch(84.8% 0.087 105.2);
Tailwind
colors: {
  custom: {
    50: '#e3dfaf',
    500: '#d5d18e',
    950: '#000000',
  },
}
SCSS
$custom: #d5d18e;
$custom-light: #e3dfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d18e",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 142
  },
  "hsl": {
    "h": 56.62,
    "s": 45.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84828,
    "c": 0.08677,
    "h": 105.2
  },
  "luminance": 0.617
}

Semantic roles & 50–950 ramp

primary
#D5D18E
secondary
#5C60AB
accent
#34B92C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D5D18E

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

Preview Lab → · Contrast checker → · Palette generator →

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