#DFFA7C#DFFA7C

#DFFA7C is a very light, vivid yellow-green. Relative luminance 0.855; OKLCH L 94.0% C 0.155 H 119.5°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#DFFA7C
RGBrgb(223, 250, 124)
HSLhsl(73, 93%, 73%)
HSVhsv(73, 50%, 98%)
CMYKcmyk(10.8%, 0%, 50.4%, 2%)
CIE-LABlab(94.10, -26.84, 56.90)
CIE-LCHlch(94.10, 62.91, 115.25°)
OKLaboklab(93.99% -0.0761 0.1347)
OKLCHoklch(93.99% 0.155 119.5)
XYZxyz(68.2557, 85.5147, 31.9751)
Luminance0.8551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFA7C #977CFA
analogous
#FAD67C #DFFA7C #A0FA7C
triadic
#DFFA7C #7CDFFA #FA7CDF
tetradic
#DFFA7C #7CFAD6 #977CFA #FA7CA0
square
#DFFA7C #7CFAD6 #977CFA #FA7CA0
split-complementary
#DFFA7C #7CA0FA #D67CFA
monochromatic
#C0F209 #D1F841 #DFFA7C #EDFCB7 #F8FEE2

Accessibility & contrast

On white

1.16
#DFFA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#DFFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFA7C
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFA7C#FFFFFF#000000##000000
##DFFA7C1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE70
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#E9EFDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dffa7c;
/* rgb */ color: rgb(223, 250, 124);
/* oklch */ color: oklch(94.0% 0.155 119.5);
Tailwind
colors: {
  custom: {
    50: '#ebfca5',
    500: '#dffa7c',
    950: '#000000',
  },
}
SCSS
$custom: #dffa7c;
$custom-light: #ebfca5;
$custom-dark: #000000;
JSON
{
  "hex": "#dffa7c",
  "rgb": {
    "r": 223,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 72.857,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93987,
    "c": 0.15471,
    "h": 119.5
  },
  "luminance": 0.85514
}

Semantic roles & 50–950 ramp

primary
#DFFA7C
secondary
#6343D7
accent
#00E631
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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