#DFDF8F#DFDF8F

#DFDF8F is a very light, moderate yellow. Relative luminance 0.704; OKLCH L 88.6% C 0.101 H 108.3°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#DFDF8F
RGBrgb(223, 223, 143)
HSLhsl(60, 56%, 72%)
HSVhsv(60, 36%, 87%)
CMYKcmyk(0%, 0%, 35.9%, 12.5%)
CIE-LABlab(87.22, -11.78, 39.25)
CIE-LCHlch(87.22, 40.98, 106.71°)
OKLaboklab(88.57% -0.0319 0.0964)
OKLCHoklch(88.57% 0.101 108.3)
XYZxyz(61.7777, 70.4477, 36.3247)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF8F #8F8FDF
analogous
#DFB78F #DFDF8F #B7DF8F
triadic
#DFDF8F #8FDFDF #DF8FDF
tetradic
#DFDF8F #8FDFB7 #8F8FDF #DF8FB7
square
#DFDF8F #8FDFB7 #8F8FDF #DF8FB7
split-complementary
#DFDF8F #8FB7DF #B78FDF
monochromatic
#BDBD36 #D1D15F #DFDF8F #EDEDBF #F8F8E7

Accessibility & contrast

On white

1.39
#DFDF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#DFDF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF8F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF8F#FFFFFF#000000##000000
##DFDF8F1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD989
Deuteranopia (green-blind)
#EDDC92
Tritanopia (blue-blind)
#EAD6CB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf8f;
/* rgb */ color: rgb(223, 223, 143);
/* oklch */ color: oklch(88.6% 0.101 108.3);
Tailwind
colors: {
  custom: {
    50: '#eae8b1',
    500: '#dfdf8f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf8f;
$custom-light: #eae8b1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf8f",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 143
  },
  "hsl": {
    "h": 60,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88566,
    "c": 0.10148,
    "h": 108.3
  },
  "luminance": 0.70446
}

Semantic roles & 50–950 ramp

primary
#DFDF8F
secondary
#5B5BB7
accent
#22C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DFDF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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