#DFF162#DFF162

#DFF162 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 91.8% C 0.167 H 115.8°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#DFF162
RGBrgb(223, 241, 98)
HSLhsl(68, 84%, 66%)
HSVhsv(68, 59%, 95%)
CMYKcmyk(7.5%, 0%, 59.3%, 5.5%)
CIE-LABlab(91.45, -24.70, 65.26)
CIE-LCHlch(91.45, 69.78, 110.73°)
OKLaboklab(91.78% -0.0726 0.15)
OKLCHoklch(91.78% 0.167 115.8)
XYZxyz(64.0926, 79.4813, 23.5180)
Luminance0.7948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF162 #7462F1
analogous
#F1BB62 #DFF162 #98F162
triadic
#DFF162 #62DFF1 #F162DF
tetradic
#DFF162 #62F1BB #7462F1 #F16298
square
#DFF162 #62F1BB #7462F1 #F16298
split-complementary
#DFF162 #6298F1 #BB62F1
monochromatic
#B0C712 #D4EC2A #DFF162 #EAF69A #F6FBD2

Accessibility & contrast

On white

1.24
#DFF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#DFF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF162
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF162#FFFFFF#000000##000000
##DFF1621.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dff162;
/* rgb */ color: rgb(223, 241, 98);
/* oklch */ color: oklch(91.8% 0.167 115.8);
Tailwind
colors: {
  custom: {
    50: '#ecf594',
    500: '#dff162',
    950: '#000000',
  },
}
SCSS
$custom: #dff162;
$custom-light: #ecf594;
$custom-dark: #000000;
JSON
{
  "hex": "#dff162",
  "rgb": {
    "r": 223,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 67.552,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91779,
    "c": 0.16663,
    "h": 115.8
  },
  "luminance": 0.7948
}

Semantic roles & 50–950 ramp

primary
#DFF162
secondary
#4533C4
accent
#05E021
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DFF162

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

Preview Lab → · Contrast checker → · Palette generator →

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