#D5D792#D5D792

#D5D792 is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.1% C 0.089 H 109.5°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#D5D792
RGBrgb(213, 215, 146)
HSLhsl(62, 46%, 71%)
HSVhsv(62, 32%, 84%)
CMYKcmyk(0.9%, 0%, 32.1%, 15.7%)
CIE-LABlab(84.39, -11.25, 33.90)
CIE-LCHlch(84.39, 35.72, 108.36°)
OKLaboklab(86.15% -0.0298 0.0841)
OKLCHoklch(86.15% 0.089 109.5)
XYZxyz(56.9297, 64.8232, 36.7017)
Luminance0.6482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D792 #9492D7
analogous
#D7B692 #D5D792 #B2D792
triadic
#D5D792 #92D5D7 #D792D5
tetradic
#D5D792 #92D7B6 #9492D7 #D792B2
square
#D5D792 #92D7B6 #9492D7 #D792B2
split-complementary
#D5D792 #92B2D7 #B692D7
monochromatic
#ABAF40 #C4C765 #D5D792 #E6E7BF #F6F7E9

Accessibility & contrast

On white

1.50
#D5D792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#D5D792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D792
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D792#FFFFFF#000000##000000
##D5D7921.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D18D
Deuteranopia (green-blind)
#E2D495
Tritanopia (blue-blind)
#DECFC5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5d792;
/* rgb */ color: rgb(213, 215, 146);
/* oklch */ color: oklch(86.1% 0.089 109.5);
Tailwind
colors: {
  custom: {
    50: '#e3e3b2',
    500: '#d5d792',
    950: '#000000',
  },
}
SCSS
$custom: #d5d792;
$custom-light: #e3e3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d792",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 61.739,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86149,
    "c": 0.08925,
    "h": 109.5
  },
  "luminance": 0.64822
}

Semantic roles & 50–950 ramp

primary
#D5D792
secondary
#6260AE
accent
#2CBA30
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5D792

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

Preview Lab → · Contrast checker → · Palette generator →

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