#D2D99E#D2D99E

#D2D99E is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.078 H 113.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#D2D99E
RGBrgb(210, 217, 158)
HSLhsl(67, 44%, 74%)
HSVhsv(67, 27%, 85%)
CMYKcmyk(3.2%, 0%, 27.2%, 14.9%)
CIE-LABlab(84.89, -11.85, 28.35)
CIE-LCHlch(84.89, 30.73, 112.68°)
OKLaboklab(86.56% -0.031 0.0713)
OKLCHoklch(86.56% 0.078 113.5)
XYZxyz(57.5626, 65.7965, 42.0087)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D99E #A59ED9
analogous
#D9C29E #D2D99E #B4D99E
triadic
#D2D99E #9ED2D9 #D99ED2
tetradic
#D2D99E #9ED9C2 #A59ED9 #D99EB4
square
#D2D99E #9ED9C2 #A59ED9 #D99EB4
split-complementary
#D2D99E #9EB4D9 #C29ED9
monochromatic
#A8B547 #BEC872 #D2D99E #E6EACA #F5F6E9

Accessibility & contrast

On white

1.48
#D2D99E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#D2D99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D99E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D99E#FFFFFF#000000##000000
##D2D99E1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D39A
Deuteranopia (green-blind)
#E1D5A0
Tritanopia (blue-blind)
#D9D2C9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2d99e;
/* rgb */ color: rgb(210, 217, 158);
/* oklch */ color: oklch(86.6% 0.078 113.5);
Tailwind
colors: {
  custom: {
    50: '#e0e4bb',
    500: '#d2d99e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d99e;
$custom-light: #e0e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d99e",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 158
  },
  "hsl": {
    "h": 67.119,
    "s": 43.704,
    "l": 73.529
  },
  "oklch": {
    "l": 0.86556,
    "c": 0.07775,
    "h": 113.5
  },
  "luminance": 0.65796
}

Semantic roles & 50–950 ramp

primary
#D2D99E
secondary
#736BB0
accent
#2FB73F
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151512
muted
#848482

Preview Lab

Preview with #D2D99E

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

Preview Lab → · Contrast checker → · Palette generator →

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