#D2D599#D2D599

#D2D599 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.6% C 0.079 H 110.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#D2D599
RGBrgb(210, 213, 153)
HSLhsl(63, 42%, 72%)
HSVhsv(63, 28%, 84%)
CMYKcmyk(1.4%, 0%, 28.2%, 16.5%)
CIE-LABlab(83.75, -10.49, 29.41)
CIE-LCHlch(83.75, 31.22, 109.64°)
OKLaboklab(85.62% -0.0273 0.0737)
OKLCHoklch(85.62% 0.079 110.3)
XYZxyz(56.1224, 63.5908, 39.4485)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D599 #9C99D5
analogous
#D5BA99 #D2D599 #B4D599
triadic
#D2D599 #99D2D5 #D599D2
tetradic
#D2D599 #99D5BA #9C99D5 #D599B4
square
#D2D599 #99D5BA #9C99D5 #D599B4
split-complementary
#D2D599 #99B4D5 #BA99D5
monochromatic
#A7AD47 #BFC36E #D2D599 #E5E7C4 #F5F6E9

Accessibility & contrast

On white

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

On black

13.72
#D2D599 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D599
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D599#FFFFFF#000000##000000
##D2D5991.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DED095
Deuteranopia (green-blind)
#DFD29B
Tritanopia (blue-blind)
#DACEC5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d599;
/* rgb */ color: rgb(210, 213, 153);
/* oklch */ color: oklch(85.6% 0.079 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0e1b7',
    500: '#d2d599',
    950: '#000000',
  },
}
SCSS
$custom: #d2d599;
$custom-light: #e0e1b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d599",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 153
  },
  "hsl": {
    "h": 63,
    "s": 41.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85622,
    "c": 0.0786,
    "h": 110.3
  },
  "luminance": 0.6359
}

Semantic roles & 50–950 ramp

primary
#D2D599
secondary
#6A67AB
accent
#31B537
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D599

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

Preview Lab → · Contrast checker → · Palette generator →

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