#DFD791#DFD791

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

Color values

HEX#DFD791
RGBrgb(223, 215, 145)
HSLhsl(54, 55%, 72%)
HSVhsv(54, 35%, 87%)
CMYKcmyk(0%, 3.6%, 35%, 12.5%)
CIE-LABlab(85.17, -7.52, 35.58)
CIE-LCHlch(85.17, 36.36, 101.93°)
OKLaboklab(86.95% -0.0195 0.0879)
OKLCHoklch(86.95% 0.09 102.5)
XYZxyz(59.8435, 66.3346, 36.4340)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD791 #9199DF
analogous
#DFB091 #DFD791 #C0DF91
triadic
#DFD791 #91DFD7 #D791DF
tetradic
#DFD791 #91DFB0 #9199DF #DF91C0
square
#DFD791 #91DFB0 #9199DF #DF91C0
split-complementary
#DFD791 #91C0DF #B091DF
monochromatic
#BEB037 #D1C662 #DFD791 #EDE8C0 #F8F6E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD791#FFFFFF#000000##000000
##DFD7911.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)
#E3D28C
Deuteranopia (green-blind)
#E6D794
Tritanopia (blue-blind)
#EACEC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd791;
/* rgb */ color: rgb(223, 215, 145);
/* oklch */ color: oklch(87.0% 0.090 102.5);
Tailwind
colors: {
  custom: {
    50: '#eae3b2',
    500: '#dfd791',
    950: '#000000',
  },
}
SCSS
$custom: #dfd791;
$custom-light: #eae3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd791",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 145
  },
  "hsl": {
    "h": 53.846,
    "s": 54.93,
    "l": 72.157
  },
  "oklch": {
    "l": 0.8695,
    "c": 0.09007,
    "h": 102.5
  },
  "luminance": 0.66333
}

Semantic roles & 50–950 ramp

primary
#DFD791
secondary
#5D66B7
accent
#33C223
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD791

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

Preview Lab → · Contrast checker → · Palette generator →

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