#DFF27A#DFF27A

#DFF27A is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.3% C 0.147 H 116.8°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#DFF27A
RGBrgb(223, 242, 122)
HSLhsl(70, 82%, 71%)
HSVhsv(70, 50%, 95%)
CMYKcmyk(7.9%, 0%, 49.6%, 5.1%)
CIE-LABlab(91.95, -23.23, 55.26)
CIE-LCHlch(91.95, 59.94, 112.80°)
OKLaboklab(92.26% -0.0661 0.1309)
OKLCHoklch(92.26% 0.147 116.8)
XYZxyz(65.6972, 80.5980, 30.5046)
Luminance0.8060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF27A #8D7AF2
analogous
#F2C97A #DFF27A #A3F27A
triadic
#DFF27A #7ADFF2 #F27ADF
tetradic
#DFF27A #7AF2C9 #8D7AF2 #F27AA3
square
#DFF27A #7AF2C9 #8D7AF2 #F27AA3
split-complementary
#DFF27A #7AA3F2 #C97AF2
monochromatic
#BDDC16 #D2ED42 #DFF27A #ECF7B2 #F8FCE3

Accessibility & contrast

On white

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

On black

17.12
#DFF27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF27A
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF27A#FFFFFF#000000##000000
##DFF27A1.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#FEE981
Tritanopia (blue-blind)
#EAE7D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dff27a;
/* rgb */ color: rgb(223, 242, 122);
/* oklch */ color: oklch(92.3% 0.147 116.8);
Tailwind
colors: {
  custom: {
    50: '#ebf6a3',
    500: '#dff27a',
    950: '#000000',
  },
}
SCSS
$custom: #dff27a;
$custom-light: #ebf6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dff27a",
  "rgb": {
    "r": 223,
    "g": 242,
    "b": 122
  },
  "hsl": {
    "h": 69.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92255,
    "c": 0.14669,
    "h": 116.8
  },
  "luminance": 0.80597
}

Semantic roles & 50–950 ramp

primary
#DFF27A
secondary
#5944CD
accent
#07DF29
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF27A

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

Preview Lab → · Contrast checker → · Palette generator →

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