#DFDF97#DFDF97

#DFDF97 is a very light, moderate yellow. Relative luminance 0.707; OKLCH L 88.7% C 0.092 H 108.1°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#DFDF97
RGBrgb(223, 223, 151)
HSLhsl(60, 53%, 73%)
HSVhsv(60, 32%, 87%)
CMYKcmyk(0%, 0%, 32.3%, 12.5%)
CIE-LABlab(87.34, -10.85, 35.37)
CIE-LCHlch(87.34, 37.00, 107.05°)
OKLaboklab(88.7% -0.0287 0.0877)
OKLCHoklch(88.7% 0.092 108.1)
XYZxyz(62.4055, 70.6988, 39.6309)
Luminance0.7070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF97 #9797DF
analogous
#DFBB97 #DFDF97 #BBDF97
triadic
#DFDF97 #97DFDF #DF97DF
tetradic
#DFDF97 #97DFBB #9797DF #DF97BB
square
#DFDF97 #97DFBB #9797DF #DF97BB
split-complementary
#DFDF97 #97BBDF #BB97DF
monochromatic
#C0C03B #D1D168 #DFDF97 #EDEDC6 #F8F8E8

Accessibility & contrast

On white

1.39
#DFDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#DFDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF97
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF97#FFFFFF#000000##000000
##DFDF971.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD992
Deuteranopia (green-blind)
#ECDC9A
Tritanopia (blue-blind)
#E9D6CD
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dfdf97;
/* rgb */ color: rgb(223, 223, 151);
/* oklch */ color: oklch(88.7% 0.092 108.1);
Tailwind
colors: {
  custom: {
    50: '#eae8b6',
    500: '#dfdf97',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf97;
$custom-light: #eae8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf97",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88703,
    "c": 0.09224,
    "h": 108.1
  },
  "luminance": 0.70698
}

Semantic roles & 50–950 ramp

primary
#DFDF97
secondary
#6363B7
accent
#25C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DFDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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