#D2D288#D2D288

#D2D288 is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 84.7% C 0.095 H 108.3°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D2D288
RGBrgb(210, 210, 136)
HSLhsl(60, 45%, 68%)
HSVhsv(60, 35%, 82%)
CMYKcmyk(0%, 0%, 35.2%, 17.6%)
CIE-LABlab(82.69, -11.08, 36.73)
CIE-LCHlch(82.69, 38.36, 106.78°)
OKLaboklab(84.69% -0.0298 0.0904)
OKLCHoklch(84.69% 0.095 108.3)
XYZxyz(54.0694, 61.5734, 32.3243)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D288 #8888D2
analogous
#D2AD88 #D2D288 #ADD288
triadic
#D2D288 #88D2D2 #D288D2
tetradic
#D2D288 #88D2AD #8888D2 #D288AD
square
#D2D288 #88D2AD #8888D2 #D288AD
split-complementary
#D2D288 #88ADD2 #AD88D2
monochromatic
#A2A23D #C1C15C #D2D288 #E3E3B4 #F4F4E1

Accessibility & contrast

On white

1.58
#D2D288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D2D288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D288
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D288#FFFFFF#000000##000000
##D2D2881.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC83
Deuteranopia (green-blind)
#DFCF8B
Tritanopia (blue-blind)
#DCC9BF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d288;
/* rgb */ color: rgb(210, 210, 136);
/* oklch */ color: oklch(84.7% 0.095 108.3);
Tailwind
colors: {
  custom: {
    50: '#e1dfab',
    500: '#d2d288',
    950: '#000000',
  },
}
SCSS
$custom: #d2d288;
$custom-light: #e1dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d288",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 136
  },
  "hsl": {
    "h": 60,
    "s": 45.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84685,
    "c": 0.09515,
    "h": 108.3
  },
  "luminance": 0.61572
}

Semantic roles & 50–950 ramp

primary
#D2D288
secondary
#5757A7
accent
#2DB82D
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D288

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

Preview Lab → · Contrast checker → · Palette generator →

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