#DFDD4F#DFDD4F

#DFDD4F is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.4% C 0.160 H 108.5°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#DFDD4F
RGBrgb(223, 221, 79)
HSLhsl(59, 69%, 59%)
HSVhsv(59, 65%, 87%)
CMYKcmyk(0%, 0.9%, 64.6%, 12.5%)
CIE-LABlab(85.99, -16.24, 67.16)
CIE-LCHlch(85.99, 69.09, 103.60°)
OKLaboklab(87.36% -0.0507 0.1514)
OKLCHoklch(87.36% 0.16 108.5)
XYZxyz(57.7011, 67.9671, 17.4751)
Luminance0.6796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDD4F #4F51DF
analogous
#DF954F #DFDD4F #99DF4F
triadic
#DFDD4F #4FDFDD #DD4FDF
tetradic
#DFDD4F #4FDF95 #4F51DF #DF4F99
square
#DFDD4F #4FDF95 #4F51DF #DF4F99
split-complementary
#DFDD4F #4F99DF #954FDF
monochromatic
#98961C #CCC925 #DFDD4F #E8E783 #F2F1B7

Accessibility & contrast

On white

1.44
#DFDD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#DFDD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDD4F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDD4F#FFFFFF#000000##000000
##DFDD4F1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43C
Deuteranopia (green-blind)
#F1D958
Tritanopia (blue-blind)
#EECFC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdd4f;
/* rgb */ color: rgb(223, 221, 79);
/* oklch */ color: oklch(87.4% 0.160 108.5);
Tailwind
colors: {
  custom: {
    50: '#ece787',
    500: '#dfdd4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdd4f;
$custom-light: #ece787;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdd4f",
  "rgb": {
    "r": 223,
    "g": 221,
    "b": 79
  },
  "hsl": {
    "h": 59.167,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87363,
    "c": 0.15965,
    "h": 108.5
  },
  "luminance": 0.67965
}

Semantic roles & 50–950 ramp

primary
#DFDD4F
secondary
#36389C
accent
#3EEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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