#D2D792#D2D792

#D2D792 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 85.9% C 0.090 H 111.6°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D2D792
RGBrgb(210, 215, 146)
HSLhsl(64, 46%, 71%)
HSVhsv(64, 32%, 84%)
CMYKcmyk(2.3%, 0%, 32.1%, 15.7%)
CIE-LABlab(84.16, -12.40, 33.56)
CIE-LCHlch(84.16, 35.77, 110.28°)
OKLaboklab(85.91% -0.0331 0.0833)
OKLCHoklch(85.91% 0.09 111.6)
XYZxyz(56.0673, 64.3786, 36.6613)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D792 #9792D7
analogous
#D7B992 #D2D792 #AFD792
triadic
#D2D792 #92D2D7 #D792D2
tetradic
#D2D792 #92D7B9 #9792D7 #D792AF
square
#D2D792 #92D7B9 #9792D7 #D792AF
split-complementary
#D2D792 #92AFD7 #B992D7
monochromatic
#A7AF40 #C0C765 #D2D792 #E4E7BF #F6F7E9

Accessibility & contrast

On white

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

On black

13.88
#D2D792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D792
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D792#FFFFFF#000000##000000
##D2D7921.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D18D
Deuteranopia (green-blind)
#E1D395
Tritanopia (blue-blind)
#DBCFC5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d792;
/* rgb */ color: rgb(210, 215, 146);
/* oklch */ color: oklch(85.9% 0.090 111.6);
Tailwind
colors: {
  custom: {
    50: '#e0e3b2',
    500: '#d2d792',
    950: '#000000',
  },
}
SCSS
$custom: #d2d792;
$custom-light: #e0e3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d792",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 64.348,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85909,
    "c": 0.08964,
    "h": 111.6
  },
  "luminance": 0.64378
}

Semantic roles & 50–950 ramp

primary
#D2D792
secondary
#6560AE
accent
#2CBA36
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D792

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

Preview Lab → · Contrast checker → · Palette generator →

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