#DFDF4F#DFDF4F

#DFDF4F is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.8% C 0.162 H 109.3°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#DFDF4F
RGBrgb(223, 223, 79)
HSLhsl(60, 69%, 59%)
HSVhsv(60, 65%, 87%)
CMYKcmyk(0%, 0%, 64.6%, 12.5%)
CIE-LABlab(86.52, -17.23, 67.70)
CIE-LCHlch(86.52, 69.86, 104.28°)
OKLaboklab(87.79% -0.0535 0.1525)
OKLCHoklch(87.79% 0.162 109.3)
XYZxyz(58.2323, 69.0295, 17.6522)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF4F #4F4FDF
analogous
#DF974F #DFDF4F #97DF4F
triadic
#DFDF4F #4FDFDF #DF4FDF
tetradic
#DFDF4F #4FDF97 #4F4FDF #DF4F97
square
#DFDF4F #4FDF97 #4F4FDF #DF4F97
split-complementary
#DFDF4F #4F97DF #974FDF
monochromatic
#98981C #CCCC25 #DFDF4F #E8E883 #F2F2B7

Accessibility & contrast

On white

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

On black

14.81
#DFDF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF4F
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF4F#FFFFFF#000000##000000
##DFDF4F1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63B
Deuteranopia (green-blind)
#F2DB58
Tritanopia (blue-blind)
#EED1C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf4f;
/* rgb */ color: rgb(223, 223, 79);
/* oklch */ color: oklch(87.8% 0.162 109.3);
Tailwind
colors: {
  custom: {
    50: '#ece888',
    500: '#dfdf4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf4f;
$custom-light: #ece888;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf4f",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87785,
    "c": 0.16164,
    "h": 109.3
  },
  "luminance": 0.69028
}

Semantic roles & 50–950 ramp

primary
#DFDF4F
secondary
#36369C
accent
#3CEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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