#DFEC8D#DFEC8D

#DFEC8D is a very light, moderate yellow. Relative luminance 0.776; OKLCH L 91.2% C 0.120 H 115.2°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#DFEC8D
RGBrgb(223, 236, 141)
HSLhsl(68, 71%, 74%)
HSVhsv(68, 40%, 93%)
CMYKcmyk(5.5%, 0%, 40.3%, 7.5%)
CIE-LABlab(90.60, -18.43, 44.56)
CIE-LCHlch(90.60, 48.22, 112.47°)
OKLaboklab(91.25% -0.051 0.1084)
OKLCHoklch(91.25% 0.12 115.2)
XYZxyz(65.2351, 77.6027, 36.7364)
Luminance0.7760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEC8D #9A8DEC
analogous
#ECCA8D #DFEC8D #B0EC8D
triadic
#DFEC8D #8DDFEC #EC8DDF
tetradic
#DFEC8D #8DECCA #9A8DEC #EC8DB0
square
#DFEC8D #8DECCA #9A8DEC #EC8DB0
split-complementary
#DFEC8D #8DB0EC #CA8DEC
monochromatic
#C1DA24 #D0E359 #DFEC8D #EEF5C1 #F8FBE5

Accessibility & contrast

On white

1.27
#DFEC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#DFEC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEC8D
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEC8D#FFFFFF#000000##000000
##DFEC8D1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E386
Deuteranopia (green-blind)
#F7E592
Tritanopia (blue-blind)
#E9E2D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #dfec8d;
/* rgb */ color: rgb(223, 236, 141);
/* oklch */ color: oklch(91.2% 0.120 115.2);
Tailwind
colors: {
  custom: {
    50: '#eaf2af',
    500: '#dfec8d',
    950: '#000000',
  },
}
SCSS
$custom: #dfec8d;
$custom-light: #eaf2af;
$custom-dark: #000000;
JSON
{
  "hex": "#dfec8d",
  "rgb": {
    "r": 223,
    "g": 236,
    "b": 141
  },
  "hsl": {
    "h": 68.211,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91249,
    "c": 0.11976,
    "h": 115.2
  },
  "luminance": 0.77602
}

Semantic roles & 50–950 ramp

primary
#DFEC8D
secondary
#6656C7
accent
#12D32D
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161610
muted
#858581

Preview Lab

Preview with #DFEC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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