#DFF262#DFF262

#DFF262 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.0% C 0.168 H 116.1°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#DFF262
RGBrgb(223, 242, 98)
HSLhsl(68, 85%, 67%)
HSVhsv(68, 60%, 95%)
CMYKcmyk(7.9%, 0%, 59.5%, 5.1%)
CIE-LABlab(91.72, -25.17, 65.55)
CIE-LCHlch(91.72, 70.22, 111.01°)
OKLaboklab(91.99% -0.0739 0.1506)
OKLCHoklch(91.99% 0.168 116.1)
XYZxyz(64.3894, 80.0749, 23.6169)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF262 #7562F2
analogous
#F2BD62 #DFF262 #97F262
triadic
#DFF262 #62DFF2 #F262DF
tetradic
#DFF262 #62F2BD #7562F2 #F26297
square
#DFF262 #62F2BD #7562F2 #F26297
split-complementary
#DFF262 #6297F2 #BD62F2
monochromatic
#B1C911 #D3ED29 #DFF262 #EBF79B #F6FBD3

Accessibility & contrast

On white

1.23
#DFF262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#DFF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF262
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF262#FFFFFF#000000##000000
##DFF2621.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FFE86B
Tritanopia (blue-blind)
#ECE5D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dff262;
/* rgb */ color: rgb(223, 242, 98);
/* oklch */ color: oklch(92.0% 0.168 116.1);
Tailwind
colors: {
  custom: {
    50: '#ecf694',
    500: '#dff262',
    950: '#000000',
  },
}
SCSS
$custom: #dff262;
$custom-light: #ecf694;
$custom-dark: #000000;
JSON
{
  "hex": "#dff262",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 67.917,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91992,
    "c": 0.16777,
    "h": 116.1
  },
  "luminance": 0.80074
}

Semantic roles & 50–950 ramp

primary
#DFF262
secondary
#4633C6
accent
#04E121
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DFF262

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

Preview Lab → · Contrast checker → · Palette generator →

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