#DFDF93#DFDF93

#DFDF93 is a very light, moderate yellow. Relative luminance 0.706; OKLCH L 88.6% C 0.097 H 108.2°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#DFDF93
RGBrgb(223, 223, 147)
HSLhsl(60, 54%, 73%)
HSVhsv(60, 34%, 87%)
CMYKcmyk(0%, 0%, 34.1%, 12.5%)
CIE-LABlab(87.28, -11.32, 37.31)
CIE-LCHlch(87.28, 38.99, 106.88°)
OKLaboklab(88.63% -0.0303 0.092)
OKLCHoklch(88.63% 0.097 108.2)
XYZxyz(62.0861, 70.5710, 37.9491)
Luminance0.7057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF93 #9393DF
analogous
#DFB993 #DFDF93 #B9DF93
triadic
#DFDF93 #93DFDF #DF93DF
tetradic
#DFDF93 #93DFB9 #9393DF #DF93B9
square
#DFDF93 #93DFB9 #9393DF #DF93B9
split-complementary
#DFDF93 #93B9DF #B993DF
monochromatic
#BFBF39 #D1D164 #DFDF93 #EDEDC2 #F8F8E7

Accessibility & contrast

On white

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

On black

15.11
#DFDF93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF93
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF93#FFFFFF#000000##000000
##DFDF931.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD98E
Deuteranopia (green-blind)
#ECDC96
Tritanopia (blue-blind)
#E9D6CC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfdf93;
/* rgb */ color: rgb(223, 223, 147);
/* oklch */ color: oklch(88.6% 0.097 108.2);
Tailwind
colors: {
  custom: {
    50: '#eae8b3',
    500: '#dfdf93',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf93;
$custom-light: #eae8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf93",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 54.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.88633,
    "c": 0.0969,
    "h": 108.2
  },
  "luminance": 0.7057
}

Semantic roles & 50–950 ramp

primary
#DFDF93
secondary
#5F5FB7
accent
#24C224
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DFDF93

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

Preview Lab → · Contrast checker → · Palette generator →

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