#DEF47C#DEF47C

#DEF47C is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.6% C 0.148 H 118.0°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#DEF47C
RGBrgb(222, 244, 124)
HSLhsl(71, 85%, 72%)
HSVhsv(71, 49%, 96%)
CMYKcmyk(9%, 0%, 49.2%, 4.3%)
CIE-LABlab(92.44, -24.38, 54.90)
CIE-LCHlch(92.44, 60.07, 113.95°)
OKLaboklab(92.63% -0.0692 0.1303)
OKLCHoklch(92.63% 0.148 118)
XYZxyz(66.1137, 81.6867, 31.3491)
Luminance0.8169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF47C #927CF4
analogous
#F4CE7C #DEF47C #A2F47C
triadic
#DEF47C #7CDEF4 #F47CDE
tetradic
#DEF47C #7CF4CE #927CF4 #F47CA2
square
#DEF47C #7CF4CE #927CF4 #F47CA2
split-complementary
#DEF47C #7CA2F4 #CE7CF4
monochromatic
#BDE313 #D0EF44 #DEF47C #ECF9B4 #F8FDE3

Accessibility & contrast

On white

1.21
#DEF47C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#DEF47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF47C
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF47C#FFFFFF#000000##000000
##DEF47C1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE971
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#E9E9D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def47c;
/* rgb */ color: rgb(222, 244, 124);
/* oklch */ color: oklch(92.6% 0.148 118.0);
Tailwind
colors: {
  custom: {
    50: '#eaf7a4',
    500: '#def47c',
    950: '#000000',
  },
}
SCSS
$custom: #def47c;
$custom-light: #eaf7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#def47c",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 124
  },
  "hsl": {
    "h": 71,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92632,
    "c": 0.14753,
    "h": 118
  },
  "luminance": 0.81686
}

Semantic roles & 50–950 ramp

primary
#DEF47C
secondary
#5E45CF
accent
#05E12D
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF47C

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

Preview Lab → · Contrast checker → · Palette generator →

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