#D2D775#D2D775

#D2D775 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.4% C 0.122 H 111.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#D2D775
RGBrgb(210, 215, 117)
HSLhsl(63, 55%, 65%)
HSVhsv(63, 46%, 84%)
CMYKcmyk(2.3%, 0%, 45.6%, 15.7%)
CIE-LABlab(83.75, -15.61, 47.51)
CIE-LCHlch(83.75, 50.01, 108.19°)
OKLaboklab(85.45% -0.0443 0.1137)
OKLCHoklch(85.45% 0.122 111.3)
XYZxyz(54.0906, 63.5879, 26.2504)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D775 #7A75D7
analogous
#D7AB75 #D2D775 #A1D775
triadic
#D2D775 #75D2D7 #D775D2
tetradic
#D2D775 #75D7AB #7A75D7 #D775A1
square
#D2D775 #75D7AB #7A75D7 #D775A1
split-complementary
#D2D775 #75A1D7 #AB75D7
monochromatic
#9DA22F #C3C946 #D2D775 #E1E5A4 #F1F3D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D775#FFFFFF#000000##000000
##D2D7751.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)
#E4CF6D
Deuteranopia (green-blind)
#E5D27A
Tritanopia (blue-blind)
#DDCDC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d775;
/* rgb */ color: rgb(210, 215, 117);
/* oklch */ color: oklch(85.4% 0.122 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e39f',
    500: '#d2d775',
    950: '#000000',
  },
}
SCSS
$custom: #d2d775;
$custom-light: #e1e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d775",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 117
  },
  "hsl": {
    "h": 63.061,
    "s": 55.056,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85448,
    "c": 0.12198,
    "h": 111.3
  },
  "luminance": 0.63587
}

Semantic roles & 50–950 ramp

primary
#D2D775
secondary
#4F4AA6
accent
#23C32B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D775

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

Preview Lab → · Contrast checker → · Palette generator →

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