#DFD197#DFD197

#DFD197 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.077 H 96.2°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#DFD197
RGBrgb(223, 209, 151)
HSLhsl(48, 53%, 73%)
HSVhsv(48, 32%, 87%)
CMYKcmyk(0%, 6.3%, 32.3%, 12.5%)
CIE-LABlab(83.72, -3.73, 30.58)
CIE-LCHlch(83.72, 30.81, 96.96°)
OKLaboklab(85.84% -0.0083 0.0764)
OKLCHoklch(85.84% 0.077 96.2)
XYZxyz(58.8185, 63.5248, 38.4353)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD197 #97A5DF
analogous
#DFAD97 #DFD197 #C9DF97
triadic
#DFD197 #97DFD1 #D197DF
tetradic
#DFD197 #97DFAD #97A5DF #DF97C9
square
#DFD197 #97DFAD #97A5DF #DF97C9
split-complementary
#DFD197 #97C9DF #AD97DF
monochromatic
#C0A63B #D1BC68 #DFD197 #EDE6C6 #F8F5E8

Accessibility & contrast

On white

1.53
#DFD197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#DFD197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD197
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD197#FFFFFF#000000##000000
##DFD1971.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE93
Deuteranopia (green-blind)
#E1D399
Tritanopia (blue-blind)
#EAC9C2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd197;
/* rgb */ color: rgb(223, 209, 151);
/* oklch */ color: oklch(85.8% 0.077 96.2);
Tailwind
colors: {
  custom: {
    50: '#eadfb6',
    500: '#dfd197',
    950: '#000000',
  },
}
SCSS
$custom: #dfd197;
$custom-light: #eadfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd197",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 151
  },
  "hsl": {
    "h": 48.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.85836,
    "c": 0.07684,
    "h": 96.2
  },
  "luminance": 0.63523
}

Semantic roles & 50–950 ramp

primary
#DFD197
secondary
#6373B7
accent
#43C025
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD197

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

Preview Lab → · Contrast checker → · Palette generator →

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