#D7D792#D7D792

#D7D792 is a very light, moderate yellow. Relative luminance 0.651; OKLCH L 86.3% C 0.089 H 108.1°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#D7D792
RGBrgb(215, 215, 146)
HSLhsl(60, 46%, 71%)
HSVhsv(60, 32%, 84%)
CMYKcmyk(0%, 0%, 32.1%, 15.7%)
CIE-LABlab(84.55, -10.49, 34.13)
CIE-LCHlch(84.55, 35.71, 107.08°)
OKLaboklab(86.31% -0.0277 0.0847)
OKLCHoklch(86.31% 0.089 108.1)
XYZxyz(57.5135, 65.1243, 36.7290)
Luminance0.6512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D792 #9292D7
analogous
#D7B492 #D7D792 #B4D792
triadic
#D7D792 #92D7D7 #D792D7
tetradic
#D7D792 #92D7B4 #9292D7 #D792B4
square
#D7D792 #92D7B4 #9292D7 #D792B4
split-complementary
#D7D792 #92B4D7 #B492D7
monochromatic
#AFAF40 #C7C765 #D7D792 #E7E7BF #F7F7E9

Accessibility & contrast

On white

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

On black

14.02
#D7D792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D792
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D792#FFFFFF#000000##000000
##D7D7921.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d792;
/* rgb */ color: rgb(215, 215, 146);
/* oklch */ color: oklch(86.3% 0.089 108.1);
Tailwind
colors: {
  custom: {
    50: '#e4e3b2',
    500: '#d7d792',
    950: '#000000',
  },
}
SCSS
$custom: #d7d792;
$custom-light: #e4e3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d792",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 60,
    "s": 46.309,
    "l": 70.784
  },
  "oklch": {
    "l": 0.8631,
    "c": 0.08907,
    "h": 108.1
  },
  "luminance": 0.65123
}

Semantic roles & 50–950 ramp

primary
#D7D792
secondary
#6060AE
accent
#2CBA2C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #D7D792

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

Preview Lab → · Contrast checker → · Palette generator →

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