#D2D774#D2D774

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

Color values

HEX#D2D774
RGBrgb(210, 215, 116)
HSLhsl(63, 55%, 65%)
HSVhsv(63, 46%, 84%)
CMYKcmyk(2.3%, 0%, 46%, 15.7%)
CIE-LABlab(83.74, -15.71, 47.97)
CIE-LCHlch(83.74, 50.48, 108.13°)
OKLaboklab(85.43% -0.0446 0.1146)
OKLCHoklch(85.43% 0.123 111.3)
XYZxyz(54.0321, 63.5645, 25.9424)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D774 #7974D7
analogous
#D7AA74 #D2D774 #A1D774
triadic
#D2D774 #74D2D7 #D774D2
tetradic
#D2D774 #74D7AA #7974D7 #D774A1
square
#D2D774 #74D7AA #7974D7 #D774A1
split-complementary
#D2D774 #74A1D7 #AA74D7
monochromatic
#9CA22F #C3C944 #D2D774 #E1E5A4 #F1F2D3

Accessibility & contrast

On white

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

On black

13.71
#D2D774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D774
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D774#FFFFFF#000000##000000
##D2D7741.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6C
Deuteranopia (green-blind)
#E5D279
Tritanopia (blue-blind)
#DDCDC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d774;
/* rgb */ color: rgb(210, 215, 116);
/* oklch */ color: oklch(85.4% 0.123 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e39e',
    500: '#d2d774',
    950: '#000000',
  },
}
SCSS
$custom: #d2d774;
$custom-light: #e1e39e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d774",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 63.03,
    "s": 55.307,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85434,
    "c": 0.12301,
    "h": 111.3
  },
  "luminance": 0.63563
}

Semantic roles & 50–950 ramp

primary
#D2D774
secondary
#4E49A6
accent
#23C32B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D774

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

Preview Lab → · Contrast checker → · Palette generator →

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