#DFDF5F#DFDF5F

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

Color values

HEX#DFDF5F
RGBrgb(223, 223, 95)
HSLhsl(60, 67%, 62%)
HSVhsv(60, 57%, 87%)
CMYKcmyk(0%, 0%, 57.4%, 12.5%)
CIE-LABlab(86.65, -16.20, 61.25)
CIE-LCHlch(86.65, 63.35, 104.82°)
OKLaboklab(87.93% -0.0489 0.1411)
OKLCHoklch(87.93% 0.149 109.1)
XYZxyz(58.8863, 69.2911, 21.0968)
Luminance0.6929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF5F #5F5FDF
analogous
#DF9F5F #DFDF5F #9FDF5F
triadic
#DFDF5F #5FDFDF #DF5FDF
tetradic
#DFDF5F #5FDF9F #5F5FDF #DF5F9F
square
#DFDF5F #5FDF9F #5F5FDF #DF5F9F
split-complementary
#DFDF5F #5F9FDF #9F5FDF
monochromatic
#A3A321 #D5D52C #DFDF5F #E9E992 #F3F3C5

Accessibility & contrast

On white

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

On black

14.86
#DFDF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF5F
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF5F#FFFFFF#000000##000000
##DFDF5F1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdf5f;
/* rgb */ color: rgb(223, 223, 95);
/* oklch */ color: oklch(87.9% 0.149 109.1);
Tailwind
colors: {
  custom: {
    50: '#ece891',
    500: '#dfdf5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf5f;
$custom-light: #ece891;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf5f",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8793,
    "c": 0.14933,
    "h": 109.1
  },
  "luminance": 0.6929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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