#DFED7B#DFED7B

#DFED7B is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.2% C 0.140 H 115.0°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#DFED7B
RGBrgb(223, 237, 123)
HSLhsl(67, 76%, 71%)
HSVhsv(67, 48%, 93%)
CMYKcmyk(5.9%, 0%, 48.1%, 7.1%)
CIE-LABlab(90.64, -20.73, 53.22)
CIE-LCHlch(90.64, 57.12, 111.28°)
OKLaboklab(91.21% -0.059 0.1265)
OKLCHoklch(91.21% 0.14 115)
XYZxyz(64.2917, 77.6872, 30.3433)
Luminance0.7769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFED7B #897BED
analogous
#EDC27B #DFED7B #A6ED7B
triadic
#DFED7B #7BDFED #ED7BDF
tetradic
#DFED7B #7BEDC2 #897BED #ED7BA6
square
#DFED7B #7BEDC2 #897BED #ED7BA6
split-complementary
#DFED7B #7BA6ED #C27BED
monochromatic
#BBD11D #D2E645 #DFED7B #ECF4B1 #F8FBE4

Accessibility & contrast

On white

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

On black

16.54
#DFED7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFED7B
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFED7B#FFFFFF#000000##000000
##DFED7B1.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE371
Deuteranopia (green-blind)
#FAE581
Tritanopia (blue-blind)
#EAE2D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #dfed7b;
/* rgb */ color: rgb(223, 237, 123);
/* oklch */ color: oklch(91.2% 0.140 115.0);
Tailwind
colors: {
  custom: {
    50: '#ebf2a4',
    500: '#dfed7b',
    950: '#000000',
  },
}
SCSS
$custom: #dfed7b;
$custom-light: #ebf2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfed7b",
  "rgb": {
    "r": 223,
    "g": 237,
    "b": 123
  },
  "hsl": {
    "h": 67.368,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91207,
    "c": 0.13961,
    "h": 115
  },
  "luminance": 0.77686
}

Semantic roles & 50–950 ramp

primary
#DFED7B
secondary
#5646C6
accent
#0DD826
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFED7B

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

Preview Lab → · Contrast checker → · Palette generator →

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