#DFDF8A#DFDF8A

#DFDF8A is a very light, moderate yellow. Relative luminance 0.703; OKLCH L 88.5% C 0.107 H 108.4°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#DFDF8A
RGBrgb(223, 223, 138)
HSLhsl(60, 57%, 71%)
HSVhsv(60, 38%, 87%)
CMYKcmyk(0%, 0%, 38.1%, 12.5%)
CIE-LABlab(87.14, -12.34, 41.65)
CIE-LCHlch(87.14, 43.44, 106.50°)
OKLaboklab(88.49% -0.0338 0.1016)
OKLCHoklch(88.49% 0.107 108.4)
XYZxyz(61.4074, 70.2995, 34.3741)
Luminance0.7030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF8A #8A8ADF
analogous
#DFB48A #DFDF8A #B4DF8A
triadic
#DFDF8A #8ADFDF #DF8ADF
tetradic
#DFDF8A #8ADFB4 #8A8ADF #DF8AB4
square
#DFDF8A #8ADFB4 #8A8ADF #DF8AB4
split-complementary
#DFDF8A #8AB4DF #B48ADF
monochromatic
#BBBB33 #D2D25A #DFDF8A #ECECBA #F8F8E7

Accessibility & contrast

On white

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

On black

15.06
#DFDF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF8A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF8A#FFFFFF#000000##000000
##DFDF8A1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD884
Deuteranopia (green-blind)
#EDDC8E
Tritanopia (blue-blind)
#EAD5CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf8a;
/* rgb */ color: rgb(223, 223, 138);
/* oklch */ color: oklch(88.5% 0.107 108.4);
Tailwind
colors: {
  custom: {
    50: '#eae8ad',
    500: '#dfdf8a',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf8a;
$custom-light: #eae8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf8a",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88485,
    "c": 0.1071,
    "h": 108.4
  },
  "luminance": 0.70298
}

Semantic roles & 50–950 ramp

primary
#DFDF8A
secondary
#5757B7
accent
#21C521
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #DFDF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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