#DEF46F#DEF46F

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

Color values

HEX#DEF46F
RGBrgb(222, 244, 111)
HSLhsl(70, 86%, 70%)
HSVhsv(70, 55%, 96%)
CMYKcmyk(9%, 0%, 54.5%, 4.3%)
CIE-LABlab(92.30, -25.52, 60.61)
CIE-LCHlch(92.30, 65.76, 112.83°)
OKLaboklab(92.48% -0.0736 0.1415)
OKLCHoklch(92.48% 0.16 117.5)
XYZxyz(65.3451, 81.3793, 27.3012)
Luminance0.8138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF46F #856FF4
analogous
#F4C86F #DEF46F #9CF46F
triadic
#DEF46F #6FDEF4 #F46FDE
tetradic
#DEF46F #6FF4C8 #856FF4 #F46F9C
square
#DEF46F #6FF4C8 #856FF4 #F46F9C
split-complementary
#DEF46F #6F9CF4 #C86FF4
monochromatic
#B7D811 #D1F036 #DEF46F #EBF8A8 #F8FDE1

Accessibility & contrast

On white

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

On black

17.28
#DEF46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF46F
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF46F#FFFFFF#000000##000000
##DEF46F1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def46f;
/* rgb */ color: rgb(222, 244, 111);
/* oklch */ color: oklch(92.5% 0.160 117.5);
Tailwind
colors: {
  custom: {
    50: '#ebf79c',
    500: '#def46f',
    950: '#000000',
  },
}
SCSS
$custom: #def46f;
$custom-light: #ebf79c;
$custom-dark: #000000;
JSON
{
  "hex": "#def46f",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 111
  },
  "hsl": {
    "h": 69.925,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92479,
    "c": 0.1595,
    "h": 117.5
  },
  "luminance": 0.81379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF46F

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

Preview Lab → · Contrast checker → · Palette generator →

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