#DFDF99#DFDF99

#DFDF99 is a very light, moderate yellow. Relative luminance 0.708; OKLCH L 88.7% C 0.090 H 108.1°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#DFDF99
RGBrgb(223, 223, 153)
HSLhsl(60, 52%, 74%)
HSVhsv(60, 31%, 87%)
CMYKcmyk(0%, 0%, 31.4%, 12.5%)
CIE-LABlab(87.37, -10.61, 34.40)
CIE-LCHlch(87.37, 36.00, 107.14°)
OKLaboklab(88.74% -0.0279 0.0854)
OKLCHoklch(88.74% 0.09 108.1)
XYZxyz(62.5693, 70.7643, 40.4936)
Luminance0.7076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF99 #9999DF
analogous
#DFBC99 #DFDF99 #BCDF99
triadic
#DFDF99 #99DFDF #DF99DF
tetradic
#DFDF99 #99DFBC #9999DF #DF99BC
square
#DFDF99 #99DFBC #9999DF #DF99BC
split-complementary
#DFDF99 #99BCDF #BC99DF
monochromatic
#C1C13D #D0D06A #DFDF99 #EEEEC8 #F8F8E8

Accessibility & contrast

On white

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

On black

15.15
#DFDF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF99
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF99#FFFFFF#000000##000000
##DFDF991.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD994
Deuteranopia (green-blind)
#EBDC9C
Tritanopia (blue-blind)
#E9D7CD
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfdf99;
/* rgb */ color: rgb(223, 223, 153);
/* oklch */ color: oklch(88.7% 0.090 108.1);
Tailwind
colors: {
  custom: {
    50: '#eae8b7',
    500: '#dfdf99',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf99;
$custom-light: #eae8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf99",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.88739,
    "c": 0.08989,
    "h": 108.1
  },
  "luminance": 0.70763
}

Semantic roles & 50–950 ramp

primary
#DFDF99
secondary
#6565B7
accent
#26C026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DFDF99

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

Preview Lab → · Contrast checker → · Palette generator →

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