#DFDFAB#DFDFAB

#DFDFAB is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 89.1% C 0.068 H 107.7°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#DFDFAB
RGBrgb(223, 223, 171)
HSLhsl(60, 45%, 77%)
HSVhsv(60, 23%, 87%)
CMYKcmyk(0%, 0%, 23.3%, 12.5%)
CIE-LABlab(87.68, -8.27, 25.58)
CIE-LCHlch(87.68, 26.88, 107.92°)
OKLaboklab(89.09% -0.0207 0.0648)
OKLCHoklch(89.09% 0.068 107.7)
XYZxyz(64.1696, 71.4044, 48.9222)
Luminance0.7140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDFAB #ABABDF
analogous
#DFC5AB #DFDFAB #C5DFAB
triadic
#DFDFAB #ABDFDF #DFABDF
tetradic
#DFDFAB #ABDFC5 #ABABDF #DFABC5
square
#DFDFAB #ABDFC5 #ABABDF #DFABC5
split-complementary
#DFDFAB #ABC5DF #C5ABDF
monochromatic
#BDBD52 #CECE7F #DFDFAB #F0F0D7 #F7F7E9

Accessibility & contrast

On white

1.37
#DFDFAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#DFDFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDFAB
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDFAB#FFFFFF#000000##000000
##DFDFAB1.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8DBA8
Deuteranopia (green-blind)
#E9DDAD
Tritanopia (blue-blind)
#E7D8D1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #dfdfab;
/* rgb */ color: rgb(223, 223, 171);
/* oklch */ color: oklch(89.1% 0.068 107.7);
Tailwind
colors: {
  custom: {
    50: '#e9e8c4',
    500: '#dfdfab',
    950: '#000000',
  },
}
SCSS
$custom: #dfdfab;
$custom-light: #e9e8c4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdfab",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 171
  },
  "hsl": {
    "h": 60,
    "s": 44.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.89087,
    "c": 0.068,
    "h": 107.7
  },
  "luminance": 0.71404
}

Semantic roles & 50–950 ramp

primary
#DFDFAB
secondary
#7676B8
accent
#2EB82E
background
#FEFEFD
surface
#FDFCF9
border
#D5D5D2
text
#161612
muted
#848482

Preview Lab

Preview with #DFDFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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