#DEF774#DEF774

#DEF774 is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.2% C 0.159 H 118.6°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#DEF774
RGBrgb(222, 247, 116)
HSLhsl(71, 89%, 71%)
HSVhsv(71, 53%, 97%)
CMYKcmyk(10.1%, 0%, 53%, 3.1%)
CIE-LABlab(93.15, -26.52, 59.37)
CIE-LCHlch(93.15, 65.02, 114.07°)
OKLaboklab(93.18% -0.0759 0.1394)
OKLCHoklch(93.18% 0.159 118.6)
XYZxyz(66.5382, 83.3125, 29.0953)
Luminance0.8331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF774 #8D74F7
analogous
#F7CE74 #DEF774 #9CF774
triadic
#DEF774 #74DEF7 #F774DE
tetradic
#DEF774 #74F7CE #8D74F7 #F7749C
square
#DEF774 #74F7CE #8D74F7 #F7749C
split-complementary
#DEF774 #749CF7 #CE74F7
monochromatic
#BBE40D #D0F43A #DEF774 #ECFAAE #F8FDE2

Accessibility & contrast

On white

1.19
#DEF774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#DEF774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF774
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF774#FFFFFF#000000##000000
##DEF7741.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FFEC7C
Tritanopia (blue-blind)
#E9EBDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def774;
/* rgb */ color: rgb(222, 247, 116);
/* oklch */ color: oklch(93.2% 0.159 118.6);
Tailwind
colors: {
  custom: {
    50: '#eaf99f',
    500: '#def774',
    950: '#000000',
  },
}
SCSS
$custom: #def774;
$custom-light: #eaf99f;
$custom-dark: #000000;
JSON
{
  "hex": "#def774",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 71.45,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93178,
    "c": 0.15868,
    "h": 118.6
  },
  "luminance": 0.83312
}

Semantic roles & 50–950 ramp

primary
#DEF774
secondary
#5A3DD2
accent
#00E62C
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF774

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

Preview Lab → · Contrast checker → · Palette generator →

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