#DEF674#DEF674

#DEF674 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 93.0% C 0.157 H 118.3°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#DEF674
RGBrgb(222, 246, 116)
HSLhsl(71, 88%, 71%)
HSVhsv(71, 53%, 96%)
CMYKcmyk(9.8%, 0%, 52.8%, 3.5%)
CIE-LABlab(92.88, -26.04, 59.06)
CIE-LCHlch(92.88, 64.55, 113.80°)
OKLaboklab(92.96% -0.0746 0.1387)
OKLCHoklch(92.96% 0.157 118.3)
XYZxyz(66.2332, 82.7026, 28.9936)
Luminance0.8270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF674 #8C74F6
analogous
#F6CD74 #DEF674 #9DF674
triadic
#DEF674 #74DEF6 #F674DE
tetradic
#DEF674 #74F6CD #8C74F6 #F6749D
square
#DEF674 #74F6CD #8C74F6 #F6749D
split-complementary
#DEF674 #749DF6 #CD74F6
monochromatic
#BAE10F #D0F23B #DEF674 #ECFAAD #F8FDE2

Accessibility & contrast

On white

1.20
#DEF674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#DEF674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF674
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF674#FFFFFF#000000##000000
##DEF6741.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA67
Deuteranopia (green-blind)
#FFEB7C
Tritanopia (blue-blind)
#E9EAD9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def674;
/* rgb */ color: rgb(222, 246, 116);
/* oklch */ color: oklch(93.0% 0.157 118.3);
Tailwind
colors: {
  custom: {
    50: '#eaf99f',
    500: '#def674',
    950: '#000000',
  },
}
SCSS
$custom: #def674;
$custom-light: #eaf99f;
$custom-dark: #000000;
JSON
{
  "hex": "#def674",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 116
  },
  "hsl": {
    "h": 71.077,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92963,
    "c": 0.15746,
    "h": 118.3
  },
  "luminance": 0.82702
}

Semantic roles & 50–950 ramp

primary
#DEF674
secondary
#593DD1
accent
#01E42B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF674

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

Preview Lab → · Contrast checker → · Palette generator →

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