#D2D770#D2D770

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

Color values

HEX#D2D770
RGBrgb(210, 215, 112)
HSLhsl(63, 56%, 64%)
HSVhsv(63, 48%, 84%)
CMYKcmyk(2.3%, 0%, 47.9%, 15.7%)
CIE-LABlab(83.69, -16.09, 49.83)
CIE-LCHlch(83.69, 52.37, 107.89°)
OKLaboklab(85.38% -0.0461 0.1184)
OKLCHoklch(85.38% 0.127 111.3)
XYZxyz(53.8044, 63.4734, 24.7434)
Luminance0.6347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D770 #7570D7
analogous
#D7A970 #D2D770 #9FD770
triadic
#D2D770 #70D2D7 #D770D2
tetradic
#D2D770 #70D7A9 #7570D7 #D7709F
square
#D2D770 #70D7A9 #7570D7 #D7709F
split-complementary
#D2D770 #709FD7 #A970D7
monochromatic
#9AA02D #C3CA40 #D2D770 #E1E4A0 #F0F2D0

Accessibility & contrast

On white

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

On black

13.69
#D2D770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D770
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D770#FFFFFF#000000##000000
##D2D7701.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF67
Deuteranopia (green-blind)
#E5D275
Tritanopia (blue-blind)
#DECCBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d770;
/* rgb */ color: rgb(210, 215, 112);
/* oklch */ color: oklch(85.4% 0.127 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e39b',
    500: '#d2d770',
    950: '#000000',
  },
}
SCSS
$custom: #d2d770;
$custom-light: #e2e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d770",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 62.913,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8538,
    "c": 0.12706,
    "h": 111.3
  },
  "luminance": 0.63472
}

Semantic roles & 50–950 ramp

primary
#D2D770
secondary
#4C47A4
accent
#22C42A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D770

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

Preview Lab → · Contrast checker → · Palette generator →

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