#DFFB2B#DFFB2B

#DFFB2B is a very light, highly saturated yellow. Relative luminance 0.849; OKLCH L 93.6% C 0.209 H 117.8°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#DFFB2B
RGBrgb(223, 251, 43)
HSLhsl(68, 96%, 58%)
HSVhsv(68, 83%, 98%)
CMYKcmyk(11.2%, 0%, 82.9%, 1.6%)
CIE-LABlab(93.82, -32.03, 85.55)
CIE-LCHlch(93.82, 91.35, 110.52°)
OKLaboklab(93.58% -0.0974 0.1846)
OKLCHoklch(93.58% 0.209 117.8)
XYZxyz(65.3664, 84.8575, 15.2207)
Luminance0.8486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFB2B #472BFB
analogous
#FBAF2B #DFFB2B #77FB2B
triadic
#DFFB2B #2BDFFB #FB2BDF
tetradic
#DFFB2B #2BFBAF #472BFB #FB2B77
square
#DFFB2B #2BFBAF #472BFB #FB2B77
split-complementary
#DFFB2B #2B77FB #AF2BFB
monochromatic
#92A803 #C6E404 #DFFB2B #E8FC67 #F1FDA3

Accessibility & contrast

On white

1.17
#DFFB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.97
#DFFB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFB2B
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFB2B#FFFFFF#000000##000000
##DFFB2B1.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED00
Deuteranopia (green-blind)
#FFEE43
Tritanopia (blue-blind)
#EDEDD7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dffb2b;
/* rgb */ color: rgb(223, 251, 43);
/* oklch */ color: oklch(93.6% 0.209 117.8);
Tailwind
colors: {
  custom: {
    50: '#eefc7a',
    500: '#dffb2b',
    950: '#000000',
  },
}
SCSS
$custom: #dffb2b;
$custom-light: #eefc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#dffb2b",
  "rgb": {
    "r": 223,
    "g": 251,
    "b": 43
  },
  "hsl": {
    "h": 68.077,
    "s": 96.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.93583,
    "c": 0.20868,
    "h": 117.8
  },
  "luminance": 0.84857
}

Semantic roles & 50–950 ramp

primary
#DFFB2B
secondary
#3321A9
accent
#29FF46
background
#FFFFFB
surface
#FFFFF2
border
#D7D7CC
text
#17170B
muted
#85857E

Preview Lab

Preview with #DFFB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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