#DFD792#DFD792

#DFD792 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.089 H 102.4°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#DFD792
RGBrgb(223, 215, 146)
HSLhsl(54, 55%, 72%)
HSVhsv(54, 35%, 87%)
CMYKcmyk(0%, 3.6%, 34.5%, 12.5%)
CIE-LABlab(85.18, -7.40, 35.09)
CIE-LCHlch(85.18, 35.86, 101.91°)
OKLaboklab(86.97% -0.0191 0.0868)
OKLCHoklch(86.97% 0.089 102.4)
XYZxyz(59.9209, 66.3656, 36.8419)
Luminance0.6636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD792 #929ADF
analogous
#DFB092 #DFD792 #C1DF92
triadic
#DFD792 #92DFD7 #D792DF
tetradic
#DFD792 #92DFB0 #929ADF #DF92C1
square
#DFD792 #92DFB0 #929ADF #DF92C1
split-complementary
#DFD792 #92C1DF #B092DF
monochromatic
#BFB138 #D1C663 #DFD792 #EDE8C1 #F8F6E7

Accessibility & contrast

On white

1.47
#DFD792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#DFD792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD792
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD792#FFFFFF#000000##000000
##DFD7921.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D28D
Deuteranopia (green-blind)
#E6D795
Tritanopia (blue-blind)
#EACEC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd792;
/* rgb */ color: rgb(223, 215, 146);
/* oklch */ color: oklch(87.0% 0.089 102.4);
Tailwind
colors: {
  custom: {
    50: '#eae3b2',
    500: '#dfd792',
    950: '#000000',
  },
}
SCSS
$custom: #dfd792;
$custom-light: #eae3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd792",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 53.766,
    "s": 54.61,
    "l": 72.353
  },
  "oklch": {
    "l": 0.86968,
    "c": 0.08891,
    "h": 102.4
  },
  "luminance": 0.66364
}

Semantic roles & 50–950 ramp

primary
#DFD792
secondary
#5E67B7
accent
#34C223
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD792

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

Preview Lab → · Contrast checker → · Palette generator →

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