#D2D899#D2D899

#D2D899 is a very light, moderate yellow. Relative luminance 0.651; OKLCH L 86.2% C 0.083 H 112.6°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#D2D899
RGBrgb(210, 216, 153)
HSLhsl(66, 45%, 72%)
HSVhsv(66, 29%, 85%)
CMYKcmyk(2.8%, 0%, 29.2%, 15.3%)
CIE-LABlab(84.54, -12.01, 30.47)
CIE-LCHlch(84.54, 32.75, 111.52°)
OKLaboklab(86.25% -0.0316 0.0762)
OKLCHoklch(86.25% 0.083 112.6)
XYZxyz(56.8840, 65.1139, 39.7024)
Luminance0.6511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D899 #9F99D8
analogous
#D8BE99 #D2D899 #B3D899
triadic
#D2D899 #99D2D8 #D899D2
tetradic
#D2D899 #99D8BE #9F99D8 #D899B3
square
#D2D899 #99D8BE #9F99D8 #D899B3
split-complementary
#D2D899 #99B3D8 #BE99D8
monochromatic
#A8B244 #BEC76D #D2D899 #E6E9C5 #F5F7E9

Accessibility & contrast

On white

1.50
#D2D899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#D2D899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D899
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D899#FFFFFF#000000##000000
##D2D8991.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D295
Deuteranopia (green-blind)
#E1D49C
Tritanopia (blue-blind)
#DAD1C8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2d899;
/* rgb */ color: rgb(210, 216, 153);
/* oklch */ color: oklch(86.2% 0.083 112.6);
Tailwind
colors: {
  custom: {
    50: '#e0e4b7',
    500: '#d2d899',
    950: '#000000',
  },
}
SCSS
$custom: #d2d899;
$custom-light: #e0e4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d899",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 153
  },
  "hsl": {
    "h": 65.714,
    "s": 44.681,
    "l": 72.353
  },
  "oklch": {
    "l": 0.86249,
    "c": 0.08252,
    "h": 112.6
  },
  "luminance": 0.65113
}

Semantic roles & 50–950 ramp

primary
#D2D899
secondary
#6D66AF
accent
#2EB83B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D899

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

Preview Lab → · Contrast checker → · Palette generator →

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