#DFDF4D#DFDF4D

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

Color values

HEX#DFDF4D
RGBrgb(223, 223, 77)
HSLhsl(60, 70%, 59%)
HSVhsv(60, 65%, 87%)
CMYKcmyk(0%, 0%, 65.5%, 12.5%)
CIE-LABlab(86.50, -17.34, 68.46)
CIE-LCHlch(86.50, 70.62, 104.21°)
OKLaboklab(87.77% -0.054 0.1538)
OKLCHoklch(87.77% 0.163 109.3)
XYZxyz(58.1606, 69.0008, 17.2745)
Luminance0.6900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF4D #4D4DDF
analogous
#DF964D #DFDF4D #96DF4D
triadic
#DFDF4D #4DDFDF #DF4DDF
tetradic
#DFDF4D #4DDF96 #4D4DDF #DF4D96
square
#DFDF4D #4DDF96 #4D4DDF #DF4D96
split-complementary
#DFDF4D #4D96DF #964DDF
monochromatic
#97971B #CACA24 #DFDF4D #E8E881 #F2F2B5

Accessibility & contrast

On white

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

On black

14.80
#DFDF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF4D
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF4D#FFFFFF#000000##000000
##DFDF4D1.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D638
Deuteranopia (green-blind)
#F2DB57
Tritanopia (blue-blind)
#EED1C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfdf4d;
/* rgb */ color: rgb(223, 223, 77);
/* oklch */ color: oklch(87.8% 0.163 109.3);
Tailwind
colors: {
  custom: {
    50: '#ece886',
    500: '#dfdf4d',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf4d;
$custom-light: #ece886;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf4d",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.87769,
    "c": 0.16303,
    "h": 109.3
  },
  "luminance": 0.68999
}

Semantic roles & 50–950 ramp

primary
#DFDF4D
secondary
#35359B
accent
#3BEC3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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