#DFEA97#DFEA97

#DFEA97 is a very light, moderate yellow. Relative luminance 0.768; OKLCH L 91.0% C 0.106 H 114.7°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#DFEA97
RGBrgb(223, 234, 151)
HSLhsl(68, 66%, 75%)
HSVhsv(68, 35%, 92%)
CMYKcmyk(4.7%, 0%, 35.5%, 8.2%)
CIE-LABlab(90.22, -16.31, 39.13)
CIE-LCHlch(90.22, 42.39, 112.63°)
OKLaboklab(90.99% -0.0443 0.0964)
OKLCHoklch(90.99% 0.106 114.7)
XYZxyz(65.4404, 76.7687, 40.6426)
Luminance0.7677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEA97 #A297EA
analogous
#EACB97 #DFEA97 #B5EA97
triadic
#DFEA97 #97DFEA #EA97DF
tetradic
#DFEA97 #97EACB #A297EA #EA97B5
square
#DFEA97 #97EACB #A297EA #EA97B5
split-complementary
#DFEA97 #97B5EA #CB97EA
monochromatic
#C0D531 #CFE064 #DFEA97 #EFF4CA #F7FAE6

Accessibility & contrast

On white

1.28
#DFEA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#DFEA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEA97
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEA97#FFFFFF#000000##000000
##DFEA971.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E291
Deuteranopia (green-blind)
#F4E49B
Tritanopia (blue-blind)
#E8E1D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfea97;
/* rgb */ color: rgb(223, 234, 151);
/* oklch */ color: oklch(91.0% 0.106 114.7);
Tailwind
colors: {
  custom: {
    50: '#eaf0b6',
    500: '#dfea97',
    950: '#000000',
  },
}
SCSS
$custom: #dfea97;
$custom-light: #eaf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfea97",
  "rgb": {
    "r": 223,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 67.952,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.9099,
    "c": 0.10608,
    "h": 114.7
  },
  "luminance": 0.76768
}

Semantic roles & 50–950 ramp

primary
#DFEA97
secondary
#6E60C5
accent
#17CE2F
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #DFEA97

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

Preview Lab → · Contrast checker → · Palette generator →

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