#DEFE51#DEFE51

#DEFE51 is a very light, vivid yellow-green. Relative luminance 0.870; OKLCH L 94.4% C 0.194 H 119.4°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#DEFE51
RGBrgb(222, 254, 81)
HSLhsl(71, 99%, 66%)
HSVhsv(71, 68%, 100%)
CMYKcmyk(12.6%, 0%, 68.1%, 0.4%)
CIE-LABlab(94.74, -32.23, 75.30)
CIE-LCHlch(94.74, 81.91, 113.17°)
OKLaboklab(94.36% -0.0951 0.1689)
OKLCHoklch(94.36% 0.194 119.4)
XYZxyz(67.0525, 87.0077, 21.0448)
Luminance0.8701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFE51 #7151FE
analogous
#FEC751 #DEFE51 #87FE51
triadic
#DEFE51 #51DEFE #FE51DE
tetradic
#DEFE51 #51FEC7 #7151FE #FE5187
square
#DEFE51 #51FEC7 #7151FE #FE5187
split-complementary
#DEFE51 #5187FE #C751FE
monochromatic
#ADD301 #D2FE14 #DEFE51 #EAFE8E #F5FFCB

Accessibility & contrast

On white

1.14
#DEFE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#DEFE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFE51
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFE51#FFFFFF#000000##000000
##DEFE511.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF035
Deuteranopia (green-blind)
#FFF05F
Tritanopia (blue-blind)
#EAF1DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defe51;
/* rgb */ color: rgb(222, 254, 81);
/* oklch */ color: oklch(94.4% 0.194 119.4);
Tailwind
colors: {
  custom: {
    50: '#ecfe8b',
    500: '#defe51',
    950: '#000000',
  },
}
SCSS
$custom: #defe51;
$custom-light: #ecfe8b;
$custom-dark: #000000;
JSON
{
  "hex": "#defe51",
  "rgb": {
    "r": 222,
    "g": 254,
    "b": 81
  },
  "hsl": {
    "h": 71.098,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.94363,
    "c": 0.1938,
    "h": 119.4
  },
  "luminance": 0.87007
}

Semantic roles & 50–950 ramp

primary
#DEFE51
secondary
#4525CE
accent
#00E62A
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEFE51

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

Preview Lab → · Contrast checker → · Palette generator →

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