#DFD897#DFD897

#DFD897 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.3% C 0.084 H 102.8°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#DFD897
RGBrgb(223, 216, 151)
HSLhsl(54, 53%, 73%)
HSVhsv(54, 32%, 87%)
CMYKcmyk(0%, 3.1%, 32.3%, 12.5%)
CIE-LABlab(85.52, -7.31, 32.98)
CIE-LCHlch(85.52, 33.78, 102.50°)
OKLaboklab(87.26% -0.0186 0.082)
OKLCHoklch(87.26% 0.084 102.8)
XYZxyz(60.5738, 67.0354, 39.0204)
Luminance0.6703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD897 #979EDF
analogous
#DFB497 #DFD897 #C2DF97
triadic
#DFD897 #97DFD8 #D897DF
tetradic
#DFD897 #97DFB4 #979EDF #DF97C2
square
#DFD897 #97DFB4 #979EDF #DF97C2
split-complementary
#DFD897 #97C2DF #B497DF
monochromatic
#C0B33B #D1C668 #DFD897 #EDEAC6 #F8F6E8

Accessibility & contrast

On white

1.46
#DFD897 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#DFD897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD897
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD897#FFFFFF#000000##000000
##DFD8971.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D493
Deuteranopia (green-blind)
#E6D899
Tritanopia (blue-blind)
#E9CFC7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd897;
/* rgb */ color: rgb(223, 216, 151);
/* oklch */ color: oklch(87.3% 0.084 102.8);
Tailwind
colors: {
  custom: {
    50: '#eae3b6',
    500: '#dfd897',
    950: '#000000',
  },
}
SCSS
$custom: #dfd897;
$custom-light: #eae3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd897",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 151
  },
  "hsl": {
    "h": 54.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87263,
    "c": 0.08412,
    "h": 102.8
  },
  "luminance": 0.67034
}

Semantic roles & 50–950 ramp

primary
#DFD897
secondary
#636BB7
accent
#34C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD897

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

Preview Lab → · Contrast checker → · Palette generator →

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