#D2D970#D2D970

#D2D970 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.129 H 112.2°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D2D970
RGBrgb(210, 217, 112)
HSLhsl(64, 58%, 65%)
HSVhsv(64, 48%, 85%)
CMYKcmyk(3.2%, 0%, 48.4%, 14.9%)
CIE-LABlab(84.22, -17.08, 50.47)
CIE-LCHlch(84.22, 53.28, 108.69°)
OKLaboklab(85.81% -0.0489 0.1198)
OKLCHoklch(85.81% 0.129 112.2)
XYZxyz(54.3168, 64.4982, 24.9141)
Luminance0.6450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D970 #7770D9
analogous
#D9AC70 #D2D970 #9ED970
triadic
#D2D970 #70D2D9 #D970D2
tetradic
#D2D970 #70D9AC #7770D9 #D9709E
square
#D2D970 #70D9AC #7770D9 #D9709E
split-complementary
#D2D970 #709ED9 #AC70D9
monochromatic
#9BA32B #C3CC40 #D2D970 #E1E6A0 #F0F3D1

Accessibility & contrast

On white

1.51
#D2D970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D2D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D970
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D970#FFFFFF#000000##000000
##D2D9701.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#E7D375
Tritanopia (blue-blind)
#DECEC1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d970;
/* rgb */ color: rgb(210, 217, 112);
/* oklch */ color: oklch(85.8% 0.129 112.2);
Tailwind
colors: {
  custom: {
    50: '#e2e49b',
    500: '#d2d970',
    950: '#000000',
  },
}
SCSS
$custom: #d2d970;
$custom-light: #e2e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d970",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 64,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85806,
    "c": 0.12941,
    "h": 112.2
  },
  "luminance": 0.64497
}

Semantic roles & 50–950 ramp

primary
#D2D970
secondary
#4D46A7
accent
#20C62B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D970

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

Preview Lab → · Contrast checker → · Palette generator →

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