#DEF272#DEF272

#DEF272 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.1% C 0.154 H 116.9°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#DEF272
RGBrgb(222, 242, 114)
HSLhsl(69, 83%, 70%)
HSVhsv(69, 53%, 95%)
CMYKcmyk(8.3%, 0%, 52.9%, 5.1%)
CIE-LABlab(91.80, -24.32, 58.69)
CIE-LCHlch(91.80, 63.53, 112.51°)
OKLaboklab(92.09% -0.0699 0.1377)
OKLCHoklch(92.09% 0.154 116.9)
XYZxyz(64.9145, 80.2494, 27.9863)
Luminance0.8025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF272 #8672F2
analogous
#F2C672 #DEF272 #9EF272
triadic
#DEF272 #72DEF2 #F272DE
tetradic
#DEF272 #72F2C6 #8672F2 #F2729E
square
#DEF272 #72F2C6 #8672F2 #F2729E
split-complementary
#DEF272 #729EF2 #C672F2
monochromatic
#B8D614 #D1ED3A #DEF272 #EBF7AA #F8FCE2

Accessibility & contrast

On white

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

On black

17.05
#DEF272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF272
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF272#FFFFFF#000000##000000
##DEF2721.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE765
Deuteranopia (green-blind)
#FEE879
Tritanopia (blue-blind)
#EAE6D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def272;
/* rgb */ color: rgb(222, 242, 114);
/* oklch */ color: oklch(92.1% 0.154 116.9);
Tailwind
colors: {
  custom: {
    50: '#eaf69e',
    500: '#def272',
    950: '#000000',
  },
}
SCSS
$custom: #def272;
$custom-light: #eaf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#def272",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 69.375,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92085,
    "c": 0.15443,
    "h": 116.9
  },
  "luminance": 0.80249
}

Semantic roles & 50–950 ramp

primary
#DEF272
secondary
#533DCC
accent
#06E028
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF272

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

Preview Lab → · Contrast checker → · Palette generator →

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