#DFD397#DFD397

#DFD397 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.2% C 0.079 H 98.2°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#DFD397
RGBrgb(223, 211, 151)
HSLhsl(50, 53%, 73%)
HSVhsv(50, 32%, 87%)
CMYKcmyk(0%, 5.4%, 32.3%, 12.5%)
CIE-LABlab(84.23, -4.76, 31.27)
CIE-LCHlch(84.23, 31.63, 98.66°)
OKLaboklab(86.24% -0.0112 0.078)
OKLCHoklch(86.24% 0.079 98.2)
XYZxyz(59.3123, 64.5124, 38.5999)
Luminance0.6451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD397 #97A3DF
analogous
#DFAF97 #DFD397 #C7DF97
triadic
#DFD397 #97DFD3 #D397DF
tetradic
#DFD397 #97DFAF #97A3DF #DF97C7
square
#DFD397 #97DFAF #97A3DF #DF97C7
split-complementary
#DFD397 #97C7DF #AF97DF
monochromatic
#C0AA3B #D1BF68 #DFD397 #EDE7C6 #F8F5E8

Accessibility & contrast

On white

1.51
#DFD397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#DFD397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD397
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD397#FFFFFF#000000##000000
##DFD3971.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD093
Deuteranopia (green-blind)
#E2D499
Tritanopia (blue-blind)
#EACBC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd397;
/* rgb */ color: rgb(223, 211, 151);
/* oklch */ color: oklch(86.2% 0.079 98.2);
Tailwind
colors: {
  custom: {
    50: '#eae0b6',
    500: '#dfd397',
    950: '#000000',
  },
}
SCSS
$custom: #dfd397;
$custom-light: #eae0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd397",
  "rgb": {
    "r": 223,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 50,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86242,
    "c": 0.07881,
    "h": 98.2
  },
  "luminance": 0.64511
}

Semantic roles & 50–950 ramp

primary
#DFD397
secondary
#6371B7
accent
#3FC025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD397

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

Preview Lab → · Contrast checker → · Palette generator →

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