#DFD797#DFD797

#DFD797 is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 87.1% C 0.083 H 101.9°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#DFD797
RGBrgb(223, 215, 151)
HSLhsl(53, 53%, 73%)
HSVhsv(53, 32%, 87%)
CMYKcmyk(0%, 3.6%, 32.3%, 12.5%)
CIE-LABlab(85.26, -6.80, 32.63)
CIE-LCHlch(85.26, 33.34, 101.78°)
OKLaboklab(87.06% -0.0171 0.0812)
OKLCHoklch(87.06% 0.083 101.9)
XYZxyz(60.3184, 66.5246, 38.9352)
Luminance0.6652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD797 #979FDF
analogous
#DFB397 #DFD797 #C3DF97
triadic
#DFD797 #97DFD7 #D797DF
tetradic
#DFD797 #97DFB3 #979FDF #DF97C3
square
#DFD797 #97DFB3 #979FDF #DF97C3
split-complementary
#DFD797 #97C3DF #B397DF
monochromatic
#C0B23B #D1C568 #DFD797 #EDE9C6 #F8F6E8

Accessibility & contrast

On white

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

On black

14.30
#DFD797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD797
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD797#FFFFFF#000000##000000
##DFD7971.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd797;
/* rgb */ color: rgb(223, 215, 151);
/* oklch */ color: oklch(87.1% 0.083 101.9);
Tailwind
colors: {
  custom: {
    50: '#eae3b6',
    500: '#dfd797',
    950: '#000000',
  },
}
SCSS
$custom: #dfd797;
$custom-light: #eae3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd797",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 53.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87058,
    "c": 0.08302,
    "h": 101.9
  },
  "luminance": 0.66523
}

Semantic roles & 50–950 ramp

primary
#DFD797
secondary
#636CB7
accent
#36C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD797

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

Preview Lab → · Contrast checker → · Palette generator →

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