#DFEF77#DFEF77

#DFEF77 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.6% C 0.146 H 115.6°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#DFEF77
RGBrgb(223, 239, 119)
HSLhsl(68, 79%, 70%)
HSVhsv(68, 50%, 94%)
CMYKcmyk(6.7%, 0%, 50.2%, 6.3%)
CIE-LABlab(91.12, -22.06, 55.65)
CIE-LCHlch(91.12, 59.87, 111.62°)
OKLaboklab(91.58% -0.0631 0.1315)
OKLCHoklch(91.58% 0.146 115.6)
XYZxyz(64.6286, 78.7537, 29.2455)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFEF77 #8777EF
analogous
#EFC377 #DFEF77 #A3EF77
triadic
#DFEF77 #77DFEF #EF77DF
tetradic
#DFEF77 #77EFC3 #8777EF #EF77A3
square
#DFEF77 #77EFC3 #8777EF #EF77A3
split-complementary
#DFEF77 #77A3EF #C377EF
monochromatic
#BAD319 #D2E940 #DFEF77 #ECF5AE #F9FCE4

Accessibility & contrast

On white

1.25
#DFEF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#DFEF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFEF77
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFEF77#FFFFFF#000000##000000
##DFEF771.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56C
Deuteranopia (green-blind)
#FCE77E
Tritanopia (blue-blind)
#EBE4D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dfef77;
/* rgb */ color: rgb(223, 239, 119);
/* oklch */ color: oklch(91.6% 0.146 115.6);
Tailwind
colors: {
  custom: {
    50: '#ebf4a1',
    500: '#dfef77',
    950: '#000000',
  },
}
SCSS
$custom: #dfef77;
$custom-light: #ebf4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfef77",
  "rgb": {
    "r": 223,
    "g": 239,
    "b": 119
  },
  "hsl": {
    "h": 68,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91581,
    "c": 0.1459,
    "h": 115.6
  },
  "luminance": 0.78753
}

Semantic roles & 50–950 ramp

primary
#DFEF77
secondary
#5442C8
accent
#0ADB26
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DFEF77

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

Preview Lab → · Contrast checker → · Palette generator →

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