#DFDF79#DFDF79

#DFDF79 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.2% C 0.125 H 108.7°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#DFDF79
RGBrgb(223, 223, 121)
HSLhsl(60, 61%, 67%)
HSVhsv(60, 46%, 87%)
CMYKcmyk(0%, 0%, 45.7%, 12.5%)
CIE-LABlab(86.92, -14.06, 49.68)
CIE-LCHlch(86.92, 51.63, 105.80°)
OKLaboklab(88.24% -0.0402 0.1186)
OKLCHoklch(88.24% 0.125 108.7)
XYZxyz(60.2715, 69.8452, 28.3919)
Luminance0.6984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF79 #7979DF
analogous
#DFAC79 #DFDF79 #ACDF79
triadic
#DFDF79 #79DFDF #DF79DF
tetradic
#DFDF79 #79DFAC #7979DF #DF79AC
square
#DFDF79 #79DFAC #7979DF #DF79AC
split-complementary
#DFDF79 #79ACDF #AC79DF
monochromatic
#B3B32B #D3D348 #DFDF79 #EBEBAA #F7F7DC

Accessibility & contrast

On white

1.40
#DFDF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#DFDF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF79
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF79#FFFFFF#000000##000000
##DFDF791.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD870
Deuteranopia (green-blind)
#EFDB7E
Tritanopia (blue-blind)
#ECD4C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dfdf79;
/* rgb */ color: rgb(223, 223, 121);
/* oklch */ color: oklch(88.2% 0.125 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe8a2',
    500: '#dfdf79',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf79;
$custom-light: #ebe8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf79",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 121
  },
  "hsl": {
    "h": 60,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88235,
    "c": 0.12521,
    "h": 108.7
  },
  "luminance": 0.69844
}

Semantic roles & 50–950 ramp

primary
#DFDF79
secondary
#4848B4
accent
#1CC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDF79

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

Preview Lab → · Contrast checker → · Palette generator →

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