#DFFB7B#DFFB7B

#DFFB7B is a very light, vivid yellow-green. Relative luminance 0.861; OKLCH L 94.2% C 0.157 H 119.7°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#DFFB7B
RGBrgb(223, 251, 123)
HSLhsl(73, 94%, 73%)
HSVhsv(73, 51%, 98%)
CMYKcmyk(11.2%, 0%, 51%, 1.6%)
CIE-LABlab(94.36, -27.40, 57.66)
CIE-LCHlch(94.36, 63.83, 115.42°)
OKLaboklab(94.19% -0.0778 0.1362)
OKLCHoklch(94.19% 0.157 119.7)
XYZxyz(68.5044, 86.1127, 31.7476)
Luminance0.8611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFB7B #977BFB
analogous
#FBD77B #DFFB7B #9FFB7B
triadic
#DFFB7B #7BDFFB #FB7BDF
tetradic
#DFFB7B #7BFBD7 #977BFB #FB7B9F
square
#DFFB7B #7BFBD7 #977BFB #FB7B9F
split-complementary
#DFFB7B #7B9FFB #D77BFB
monochromatic
#C0F407 #D1F940 #DFFB7B #EDFDB6 #F8FEE1

Accessibility & contrast

On white

1.15
#DFFB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#DFFB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFB7B
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFB7B#FFFFFF#000000##000000
##DFFB7B1.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6F
Deuteranopia (green-blind)
#FFEF82
Tritanopia (blue-blind)
#E9F0DE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dffb7b;
/* rgb */ color: rgb(223, 251, 123);
/* oklch */ color: oklch(94.2% 0.157 119.7);
Tailwind
colors: {
  custom: {
    50: '#ebfca4',
    500: '#dffb7b',
    950: '#000000',
  },
}
SCSS
$custom: #dffb7b;
$custom-light: #ebfca4;
$custom-dark: #000000;
JSON
{
  "hex": "#dffb7b",
  "rgb": {
    "r": 223,
    "g": 251,
    "b": 123
  },
  "hsl": {
    "h": 73.125,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94188,
    "c": 0.15689,
    "h": 119.7
  },
  "luminance": 0.86112
}

Semantic roles & 50–950 ramp

primary
#DFFB7B
secondary
#6342D8
accent
#00E632
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFFB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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