#DEF46E#DEF46E

#DEF46E is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.5% C 0.160 H 117.4°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#DEF46E
RGBrgb(222, 244, 110)
HSLhsl(70, 86%, 69%)
HSVhsv(70, 55%, 96%)
CMYKcmyk(9%, 0%, 54.9%, 4.3%)
CIE-LABlab(92.29, -25.60, 61.04)
CIE-LCHlch(92.29, 66.19, 112.75°)
OKLaboklab(92.47% -0.0739 0.1424)
OKLCHoklch(92.47% 0.16 117.4)
XYZxyz(65.2903, 81.3574, 27.0129)
Luminance0.8136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF46E #846EF4
analogous
#F4C76E #DEF46E #9BF46E
triadic
#DEF46E #6EDEF4 #F46EDE
tetradic
#DEF46E #6EF4C7 #846EF4 #F46E9B
square
#DEF46E #6EF4C7 #846EF4 #F46E9B
split-complementary
#DEF46E #6E9BF4 #C76EF4
monochromatic
#B7D710 #D1F035 #DEF46E #EBF8A7 #F8FDE0

Accessibility & contrast

On white

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

On black

17.27
#DEF46E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF46E
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF46E#FFFFFF#000000##000000
##DEF46E1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE860
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#EAE8D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def46e;
/* rgb */ color: rgb(222, 244, 110);
/* oklch */ color: oklch(92.5% 0.160 117.4);
Tailwind
colors: {
  custom: {
    50: '#ebf79c',
    500: '#def46e',
    950: '#000000',
  },
}
SCSS
$custom: #def46e;
$custom-light: #ebf79c;
$custom-dark: #000000;
JSON
{
  "hex": "#def46e",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 110
  },
  "hsl": {
    "h": 69.851,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92468,
    "c": 0.16038,
    "h": 117.4
  },
  "luminance": 0.81357
}

Semantic roles & 50–950 ramp

primary
#DEF46E
secondary
#5139CE
accent
#03E228
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF46E

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

Preview Lab → · Contrast checker → · Palette generator →

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