#DFDD5F#DFDD5F

#DFDD5F is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.5% C 0.147 H 108.2°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#DFDD5F
RGBrgb(223, 221, 95)
HSLhsl(59, 67%, 62%)
HSVhsv(59, 57%, 87%)
CMYKcmyk(0%, 0.9%, 57.4%, 12.5%)
CIE-LABlab(86.12, -15.21, 60.66)
CIE-LCHlch(86.12, 62.54, 104.08°)
OKLaboklab(87.51% -0.0461 0.1399)
OKLCHoklch(87.51% 0.147 108.2)
XYZxyz(58.3552, 68.2287, 20.9197)
Luminance0.6823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDD5F #5F61DF
analogous
#DF9D5F #DFDD5F #A1DF5F
triadic
#DFDD5F #5FDFDD #DD5FDF
tetradic
#DFDD5F #5FDF9D #5F61DF #DF5FA1
square
#DFDD5F #5FDF9D #5F61DF #DF5FA1
split-complementary
#DFDD5F #5FA1DF #9D5FDF
monochromatic
#A3A121 #D5D22C #DFDD5F #E9E892 #F3F3C5

Accessibility & contrast

On white

1.43
#DFDD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#DFDD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDD5F
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDD5F#FFFFFF#000000##000000
##DFDD5F1.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD551
Deuteranopia (green-blind)
#F0DA66
Tritanopia (blue-blind)
#EDD0C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdd5f;
/* rgb */ color: rgb(223, 221, 95);
/* oklch */ color: oklch(87.5% 0.147 108.2);
Tailwind
colors: {
  custom: {
    50: '#ece791',
    500: '#dfdd5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdd5f;
$custom-light: #ece791;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdd5f",
  "rgb": {
    "r": 223,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 59.063,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87509,
    "c": 0.14725,
    "h": 108.2
  },
  "luminance": 0.68227
}

Semantic roles & 50–950 ramp

primary
#DFDD5F
secondary
#3C3EA6
accent
#1ACF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DFDD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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