#DFDF5A#DFDF5A

#DFDF5A is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.9% C 0.153 H 109.2°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#DFDF5A
RGBrgb(223, 223, 90)
HSLhsl(60, 68%, 61%)
HSVhsv(60, 60%, 87%)
CMYKcmyk(0%, 0%, 59.6%, 12.5%)
CIE-LABlab(86.60, -16.54, 63.33)
CIE-LCHlch(86.60, 65.46, 104.64°)
OKLaboklab(87.88% -0.0504 0.1449)
OKLCHoklch(87.88% 0.153 109.2)
XYZxyz(58.6663, 69.2031, 19.9380)
Luminance0.6920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF5A #5A5ADF
analogous
#DF9D5A #DFDF5A #9DDF5A
triadic
#DFDF5A #5ADFDF #DF5ADF
tetradic
#DFDF5A #5ADF9D #5A5ADF #DF5A9D
square
#DFDF5A #5ADF9D #5A5ADF #DF5A9D
split-complementary
#DFDF5A #5A9DDF #9D5ADF
monochromatic
#A0A01F #D3D329 #DFDF5A #E9E98D #F3F3C1

Accessibility & contrast

On white

1.42
#DFDF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#DFDF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF5A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF5A#FFFFFF#000000##000000
##DFDF5A1.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D64A
Deuteranopia (green-blind)
#F1DB62
Tritanopia (blue-blind)
#EED2C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf5a;
/* rgb */ color: rgb(223, 223, 90);
/* oklch */ color: oklch(87.9% 0.153 109.2);
Tailwind
colors: {
  custom: {
    50: '#ece88e',
    500: '#dfdf5a',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf5a;
$custom-light: #ece88e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf5a",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87881,
    "c": 0.1534,
    "h": 109.2
  },
  "luminance": 0.69202
}

Semantic roles & 50–950 ramp

primary
#DFDF5A
secondary
#3A3AA3
accent
#16CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DFDF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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