#DFDF5B#DFDF5B

#DFDF5B 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#DFDF5B
RGBrgb(223, 223, 91)
HSLhsl(60, 67%, 62%)
HSVhsv(60, 59%, 87%)
CMYKcmyk(0%, 0%, 59.2%, 12.5%)
CIE-LABlab(86.61, -16.48, 62.92)
CIE-LCHlch(86.61, 65.04, 104.67°)
OKLaboklab(87.89% -0.0501 0.1441)
OKLCHoklch(87.89% 0.153 109.2)
XYZxyz(58.7092, 69.2202, 20.1637)
Luminance0.6922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF5B #5B5BDF
analogous
#DF9D5B #DFDF5B #9DDF5B
triadic
#DFDF5B #5BDFDF #DF5BDF
tetradic
#DFDF5B #5BDF9D #5B5BDF #DF5B9D
square
#DFDF5B #5BDF9D #5B5BDF #DF5B9D
split-complementary
#DFDF5B #5B9DDF #9D5BDF
monochromatic
#A0A01F #D4D429 #DFDF5B #E9E98E #F3F3C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFDF5B#FFFFFF#000000##000000
##DFDF5B1.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdf5b;
/* rgb */ color: rgb(223, 223, 91);
/* oklch */ color: oklch(87.9% 0.153 109.2);
Tailwind
colors: {
  custom: {
    50: '#ece88f',
    500: '#dfdf5b',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf5b;
$custom-light: #ece88f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf5b",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8789,
    "c": 0.1526,
    "h": 109.2
  },
  "luminance": 0.69219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFDF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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