#D5D299#D5D299

#D5D299 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.2% C 0.075 H 105.3°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#D5D299
RGBrgb(213, 210, 153)
HSLhsl(57, 42%, 72%)
HSVhsv(57, 28%, 84%)
CMYKcmyk(0%, 1.4%, 28.2%, 16.5%)
CIE-LABlab(83.20, -7.83, 28.71)
CIE-LCHlch(83.20, 29.76, 105.25°)
OKLaboklab(85.24% -0.0198 0.072)
OKLCHoklch(85.24% 0.075 105.3)
XYZxyz(56.2372, 62.5402, 39.2398)
Luminance0.6254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D299 #999CD5
analogous
#D5B499 #D5D299 #BAD599
triadic
#D5D299 #99D5D2 #D299D5
tetradic
#D5D299 #99D5B4 #999CD5 #D599BA
square
#D5D299 #99D5B4 #999CD5 #D599BA
split-complementary
#D5D299 #99BAD5 #B499D5
monochromatic
#ADA747 #C3BF6E #D5D299 #E7E5C4 #F6F5E9

Accessibility & contrast

On white

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

On black

13.51
#D5D299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D299
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D299#FFFFFF#000000##000000
##D5D2991.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCE95
Deuteranopia (green-blind)
#DDD19B
Tritanopia (blue-blind)
#DECBC3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d299;
/* rgb */ color: rgb(213, 210, 153);
/* oklch */ color: oklch(85.2% 0.075 105.3);
Tailwind
colors: {
  custom: {
    50: '#e2dfb7',
    500: '#d5d299',
    950: '#000000',
  },
}
SCSS
$custom: #d5d299;
$custom-light: #e2dfb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d299",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 153
  },
  "hsl": {
    "h": 57,
    "s": 41.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85241,
    "c": 0.07468,
    "h": 105.3
  },
  "luminance": 0.62539
}

Semantic roles & 50–950 ramp

primary
#D5D299
secondary
#676AAB
accent
#37B531
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5D299

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

Preview Lab → · Contrast checker → · Palette generator →

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