#DEF46D#DEF46D

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

Color values

HEX#DEF46D
RGBrgb(222, 244, 109)
HSLhsl(70, 86%, 69%)
HSVhsv(70, 55%, 96%)
CMYKcmyk(9%, 0%, 55.3%, 4.3%)
CIE-LABlab(92.28, -25.68, 61.46)
CIE-LCHlch(92.28, 66.61, 112.67°)
OKLaboklab(92.46% -0.0742 0.1432)
OKLCHoklch(92.46% 0.161 117.4)
XYZxyz(65.2362, 81.3357, 26.7277)
Luminance0.8134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF46D #836DF4
analogous
#F4C76D #DEF46D #9BF46D
triadic
#DEF46D #6DDEF4 #F46DDE
tetradic
#DEF46D #6DF4C7 #836DF4 #F46D9B
square
#DEF46D #6DF4C7 #836DF4 #F46D9B
split-complementary
#DEF46D #6D9BF4 #C76DF4
monochromatic
#B6D610 #D1F034 #DEF46D #EBF8A6 #F8FDDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF46D#FFFFFF#000000##000000
##DEF46D1.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)
#FFE85F
Deuteranopia (green-blind)
#FFEA75
Tritanopia (blue-blind)
#EAE8D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def46d;
/* rgb */ color: rgb(222, 244, 109);
/* oklch */ color: oklch(92.5% 0.161 117.4);
Tailwind
colors: {
  custom: {
    50: '#ebf79b',
    500: '#def46d',
    950: '#000000',
  },
}
SCSS
$custom: #def46d;
$custom-light: #ebf79b;
$custom-dark: #000000;
JSON
{
  "hex": "#def46d",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 109
  },
  "hsl": {
    "h": 69.778,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92458,
    "c": 0.16125,
    "h": 117.4
  },
  "luminance": 0.81335
}

Semantic roles & 50–950 ramp

primary
#DEF46D
secondary
#5038CD
accent
#03E327
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF46D

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

Preview Lab → · Contrast checker → · Palette generator →

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