#DFD793#DFD793

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

Color values

HEX#DFD793
RGBrgb(223, 215, 147)
HSLhsl(54, 54%, 73%)
HSVhsv(54, 34%, 87%)
CMYKcmyk(0%, 3.6%, 34.1%, 12.5%)
CIE-LABlab(85.20, -7.28, 34.60)
CIE-LCHlch(85.20, 35.36, 101.89°)
OKLaboklab(86.99% -0.0187 0.0857)
OKLCHoklch(86.99% 0.088 102.3)
XYZxyz(59.9990, 66.3968, 37.2534)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD793 #939BDF
analogous
#DFB193 #DFD793 #C1DF93
triadic
#DFD793 #93DFD7 #D793DF
tetradic
#DFD793 #93DFB1 #939BDF #DF93C1
square
#DFD793 #93DFB1 #939BDF #DF93C1
split-complementary
#DFD793 #93C1DF #B193DF
monochromatic
#BFB139 #D1C664 #DFD793 #EDE8C2 #F8F6E7

Accessibility & contrast

On white

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

On black

14.28
#DFD793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD793
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD793#FFFFFF#000000##000000
##DFD7931.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D28E
Deuteranopia (green-blind)
#E6D796
Tritanopia (blue-blind)
#EACEC6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd793;
/* rgb */ color: rgb(223, 215, 147);
/* oklch */ color: oklch(87.0% 0.088 102.3);
Tailwind
colors: {
  custom: {
    50: '#eae3b3',
    500: '#dfd793',
    950: '#000000',
  },
}
SCSS
$custom: #dfd793;
$custom-light: #eae3b3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd793",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 147
  },
  "hsl": {
    "h": 53.684,
    "s": 54.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.86986,
    "c": 0.08774,
    "h": 102.3
  },
  "luminance": 0.66395
}

Semantic roles & 50–950 ramp

primary
#DFD793
secondary
#5F68B7
accent
#34C224
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD793

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

Preview Lab → · Contrast checker → · Palette generator →

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