#DFD497#DFD497

#DFD497 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.4% C 0.080 H 99.2°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#DFD497
RGBrgb(223, 212, 151)
HSLhsl(51, 53%, 73%)
HSVhsv(51, 32%, 87%)
CMYKcmyk(0%, 4.9%, 32.3%, 12.5%)
CIE-LABlab(84.49, -5.27, 31.61)
CIE-LCHlch(84.49, 32.04, 99.47°)
OKLaboklab(86.45% -0.0127 0.0788)
OKLCHoklch(86.45% 0.08 99.2)
XYZxyz(59.5615, 65.0108, 38.6829)
Luminance0.6501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD497 #97A2DF
analogous
#DFB097 #DFD497 #C6DF97
triadic
#DFD497 #97DFD4 #D497DF
tetradic
#DFD497 #97DFB0 #97A2DF #DF97C6
square
#DFD497 #97DFB0 #97A2DF #DF97C6
split-complementary
#DFD497 #97C6DF #B097DF
monochromatic
#C0AC3B #D1C168 #DFD497 #EDE7C6 #F8F5E8

Accessibility & contrast

On white

1.50
#DFD497 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#DFD497 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD497
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD497#FFFFFF#000000##000000
##DFD4971.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D093
Deuteranopia (green-blind)
#E3D599
Tritanopia (blue-blind)
#EACCC4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd497;
/* rgb */ color: rgb(223, 212, 151);
/* oklch */ color: oklch(86.4% 0.080 99.2);
Tailwind
colors: {
  custom: {
    50: '#eae1b6',
    500: '#dfd497',
    950: '#000000',
  },
}
SCSS
$custom: #dfd497;
$custom-light: #eae1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd497",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 151
  },
  "hsl": {
    "h": 50.833,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86446,
    "c": 0.07984,
    "h": 99.2
  },
  "luminance": 0.65009
}

Semantic roles & 50–950 ramp

primary
#DFD497
secondary
#6370B7
accent
#3DC025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD497

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

Preview Lab → · Contrast checker → · Palette generator →

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