#DFEB7F#DFEB7F

#DFEB7F is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 90.8% C 0.133 H 114.3°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#DFEB7F
RGBrgb(223, 235, 127)
HSLhsl(67, 73%, 71%)
HSVhsv(67, 46%, 92%)
CMYKcmyk(5.1%, 0%, 46%, 7.8%)
CIE-LABlab(90.15, -19.38, 50.75)
CIE-LCHlch(90.15, 54.33, 110.90°)
OKLaboklab(90.84% -0.0548 0.1214)
OKLCHoklch(90.84% 0.133 114.3)
XYZxyz(63.9714, 76.6378, 31.4972)
Luminance0.7664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEB7F #8B7FEB
analogous
#EBC17F #DFEB7F #A9EB7F
triadic
#DFEB7F #7FDFEB #EB7FDF
tetradic
#DFEB7F #7FEBC1 #8B7FEB #EB7FA9
square
#DFEB7F #7FEBC1 #8B7FEB #EB7FA9
split-complementary
#DFEB7F #7FA9EB #C17FEB
monochromatic
#BCCF20 #D2E34A #DFEB7F #ECF3B4 #F8FBE5

Accessibility & contrast

On white

1.29
#DFEB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#DFEB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEB7F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEB7F#FFFFFF#000000##000000
##DFEB7F1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E276
Deuteranopia (green-blind)
#F8E484
Tritanopia (blue-blind)
#EAE0D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dfeb7f;
/* rgb */ color: rgb(223, 235, 127);
/* oklch */ color: oklch(90.8% 0.133 114.3);
Tailwind
colors: {
  custom: {
    50: '#ebf1a6',
    500: '#dfeb7f',
    950: '#000000',
  },
}
SCSS
$custom: #dfeb7f;
$custom-light: #ebf1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfeb7f",
  "rgb": {
    "r": 223,
    "g": 235,
    "b": 127
  },
  "hsl": {
    "h": 66.667,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90837,
    "c": 0.1332,
    "h": 114.3
  },
  "luminance": 0.76637
}

Semantic roles & 50–950 ramp

primary
#DFEB7F
secondary
#574AC4
accent
#10D526
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DFEB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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