#D2D285#D2D285

#D2D285 is a very light, moderate yellow. Relative luminance 0.615; OKLCH L 84.6% C 0.099 H 108.3°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#D2D285
RGBrgb(210, 210, 133)
HSLhsl(60, 46%, 67%)
HSVhsv(60, 37%, 82%)
CMYKcmyk(0%, 0%, 36.7%, 17.6%)
CIE-LABlab(82.64, -11.42, 38.19)
CIE-LCHlch(82.64, 39.86, 106.65°)
OKLaboklab(84.64% -0.031 0.0936)
OKLCHoklch(84.64% 0.099 108.3)
XYZxyz(53.8592, 61.4893, 31.2172)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D285 #8585D2
analogous
#D2AC85 #D2D285 #ACD285
triadic
#D2D285 #85D2D2 #D285D2
tetradic
#D2D285 #85D2AC #8585D2 #D285AC
square
#D2D285 #85D2AC #8585D2 #D285AC
split-complementary
#D2D285 #85ACD2 #AC85D2
monochromatic
#A1A13B #C2C258 #D2D285 #E2E2B2 #F3F3DE

Accessibility & contrast

On white

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

On black

13.30
#D2D285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D285
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D285#FFFFFF#000000##000000
##D2D2851.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d285;
/* rgb */ color: rgb(210, 210, 133);
/* oklch */ color: oklch(84.6% 0.099 108.3);
Tailwind
colors: {
  custom: {
    50: '#e1dfa9',
    500: '#d2d285',
    950: '#000000',
  },
}
SCSS
$custom: #d2d285;
$custom-light: #e1dfa9;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d285",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 133
  },
  "hsl": {
    "h": 60,
    "s": 46.108,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84635,
    "c": 0.09859,
    "h": 108.3
  },
  "luminance": 0.61488
}

Semantic roles & 50–950 ramp

primary
#D2D285
secondary
#5555A6
accent
#2CB92C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D285

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

Preview Lab → · Contrast checker → · Palette generator →

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