#D2D595#D2D595

#D2D595 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.5% C 0.083 H 110.3°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D2D595
RGBrgb(210, 213, 149)
HSLhsl(63, 43%, 71%)
HSVhsv(63, 30%, 84%)
CMYKcmyk(1.4%, 0%, 30%, 16.5%)
CIE-LABlab(83.68, -11.01, 31.38)
CIE-LCHlch(83.68, 33.26, 109.34°)
OKLaboklab(85.55% -0.029 0.0783)
OKLCHoklch(85.55% 0.083 110.3)
XYZxyz(55.7976, 63.4608, 37.7377)
Luminance0.6346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D595 #9895D5
analogous
#D5B895 #D2D595 #B2D595
triadic
#D2D595 #95D2D5 #D595D2
tetradic
#D2D595 #95D5B8 #9895D5 #D595B2
square
#D2D595 #95D5B8 #9895D5 #D595B2
split-complementary
#D2D595 #95B2D5 #B895D5
monochromatic
#A7AC44 #BFC469 #D2D595 #E5E6C1 #F6F6E9

Accessibility & contrast

On white

1.53
#D2D595 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D2D595 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D595
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D595#FFFFFF#000000##000000
##D2D5951.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF91
Deuteranopia (green-blind)
#DFD298
Tritanopia (blue-blind)
#DACDC4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d595;
/* rgb */ color: rgb(210, 213, 149);
/* oklch */ color: oklch(85.5% 0.083 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0e1b4',
    500: '#d2d595',
    950: '#000000',
  },
}
SCSS
$custom: #d2d595;
$custom-light: #e0e1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d595",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 149
  },
  "hsl": {
    "h": 62.813,
    "s": 43.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85546,
    "c": 0.08347,
    "h": 110.3
  },
  "luminance": 0.6346
}

Semantic roles & 50–950 ramp

primary
#D2D595
secondary
#6663AB
accent
#2FB635
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D595

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

Preview Lab → · Contrast checker → · Palette generator →

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