#DFDF5D#DFDF5D

#DFDF5D is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.9% C 0.151 H 109.1°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#DFDF5D
RGBrgb(223, 223, 93)
HSLhsl(60, 67%, 62%)
HSVhsv(60, 58%, 87%)
CMYKcmyk(0%, 0%, 58.3%, 12.5%)
CIE-LABlab(86.63, -16.34, 62.09)
CIE-LCHlch(86.63, 64.20, 104.75°)
OKLaboklab(87.91% -0.0495 0.1426)
OKLCHoklch(87.91% 0.151 109.1)
XYZxyz(58.7966, 69.2552, 20.6242)
Luminance0.6925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF5D #5D5DDF
analogous
#DF9E5D #DFDF5D #9EDF5D
triadic
#DFDF5D #5DDFDF #DF5DDF
tetradic
#DFDF5D #5DDF9E #5D5DDF #DF5D9E
square
#DFDF5D #5DDF9E #5D5DDF #DF5D9E
split-complementary
#DFDF5D #5D9EDF #9E5DDF
monochromatic
#A2A220 #D5D52A #DFDF5D #E9E990 #F3F3C3

Accessibility & contrast

On white

1.41
#DFDF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#DFDF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF5D
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF5D#FFFFFF#000000##000000
##DFDF5D1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64E
Deuteranopia (green-blind)
#F1DB65
Tritanopia (blue-blind)
#EDD2C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf5d;
/* rgb */ color: rgb(223, 223, 93);
/* oklch */ color: oklch(87.9% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#ece890',
    500: '#dfdf5d',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf5d;
$custom-light: #ece890;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf5d",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8791,
    "c": 0.15098,
    "h": 109.1
  },
  "luminance": 0.69254
}

Semantic roles & 50–950 ramp

primary
#DFDF5D
secondary
#3C3CA5
accent
#17CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DFDF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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