#DFDF98#DFDF98

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

Color values

HEX#DFDF98
RGBrgb(223, 223, 152)
HSLhsl(60, 53%, 74%)
HSVhsv(60, 32%, 87%)
CMYKcmyk(0%, 0%, 31.8%, 12.5%)
CIE-LABlab(87.35, -10.73, 34.89)
CIE-LCHlch(87.35, 36.50, 107.09°)
OKLaboklab(88.72% -0.0283 0.0866)
OKLCHoklch(88.72% 0.091 108.1)
XYZxyz(62.4870, 70.7314, 40.0604)
Luminance0.7073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF98 #9898DF
analogous
#DFBB98 #DFDF98 #BBDF98
triadic
#DFDF98 #98DFDF #DF98DF
tetradic
#DFDF98 #98DFBB #9898DF #DF98BB
square
#DFDF98 #98DFBB #9898DF #DF98BB
split-complementary
#DFDF98 #98BBDF #BB98DF
monochromatic
#C1C13C #D0D069 #DFDF98 #EEEEC7 #F8F8E8

Accessibility & contrast

On white

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

On black

15.15
#DFDF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF98
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF98#FFFFFF#000000##000000
##DFDF981.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdf98;
/* rgb */ color: rgb(223, 223, 152);
/* oklch */ color: oklch(88.7% 0.091 108.1);
Tailwind
colors: {
  custom: {
    50: '#eae8b7',
    500: '#dfdf98',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf98;
$custom-light: #eae8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf98",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.88721,
    "c": 0.09107,
    "h": 108.1
  },
  "luminance": 0.7073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFDF98

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

Preview Lab → · Contrast checker → · Palette generator →

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