#DEF378#DEF378

#DEF378 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.4% C 0.150 H 117.5°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#DEF378
RGBrgb(222, 243, 120)
HSLhsl(70, 84%, 71%)
HSVhsv(70, 51%, 95%)
CMYKcmyk(8.6%, 0%, 50.6%, 4.7%)
CIE-LABlab(92.13, -24.27, 56.36)
CIE-LCHlch(92.13, 61.37, 113.30°)
OKLaboklab(92.37% -0.0692 0.1332)
OKLCHoklch(92.37% 0.15 117.5)
XYZxyz(65.5658, 80.9874, 29.9438)
Luminance0.8099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF378 #8D78F3
analogous
#F3CA78 #DEF378 #A0F378
triadic
#DEF378 #78DEF3 #F378DE
tetradic
#DEF378 #78F3CA #8D78F3 #F378A0
square
#DEF378 #78F3CA #8D78F3 #F378A0
split-complementary
#DEF378 #78A0F3 #CA78F3
monochromatic
#BBDD14 #D0EE40 #DEF378 #ECF8B0 #F8FDE3

Accessibility & contrast

On white

1.22
#DEF378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#DEF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF378
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF378#FFFFFF#000000##000000
##DEF3781.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FFE97F
Tritanopia (blue-blind)
#E9E8D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def378;
/* rgb */ color: rgb(222, 243, 120);
/* oklch */ color: oklch(92.4% 0.150 117.5);
Tailwind
colors: {
  custom: {
    50: '#eaf7a2',
    500: '#def378',
    950: '#000000',
  },
}
SCSS
$custom: #def378;
$custom-light: #eaf7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#def378",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 70.244,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9237,
    "c": 0.15009,
    "h": 117.5
  },
  "luminance": 0.80987
}

Semantic roles & 50–950 ramp

primary
#DEF378
secondary
#5A42CE
accent
#05E02B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF378

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

Preview Lab → · Contrast checker → · Palette generator →

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