#DEF46C#DEF46C

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

Color values

HEX#DEF46C
RGBrgb(222, 244, 108)
HSLhsl(70, 86%, 69%)
HSVhsv(70, 56%, 96%)
CMYKcmyk(9%, 0%, 55.7%, 4.3%)
CIE-LABlab(92.27, -25.76, 61.89)
CIE-LCHlch(92.27, 67.04, 112.60°)
OKLaboklab(92.45% -0.0745 0.144)
OKLCHoklch(92.45% 0.162 117.4)
XYZxyz(65.1827, 81.3143, 26.4458)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF46C #826CF4
analogous
#F4C66C #DEF46C #9AF46C
triadic
#DEF46C #6CDEF4 #F46CDE
tetradic
#DEF46C #6CF4C6 #826CF4 #F46C9A
square
#DEF46C #6CF4C6 #826CF4 #F46C9A
split-complementary
#DEF46C #6C9AF4 #C66CF4
monochromatic
#B6D610 #D1F033 #DEF46C #EBF8A5 #F8FDDE

Accessibility & contrast

On white

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

On black

17.26
#DEF46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF46C
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF46C#FFFFFF#000000##000000
##DEF46C1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85E
Deuteranopia (green-blind)
#FFEA74
Tritanopia (blue-blind)
#EAE8D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def46c;
/* rgb */ color: rgb(222, 244, 108);
/* oklch */ color: oklch(92.4% 0.162 117.4);
Tailwind
colors: {
  custom: {
    50: '#ebf79a',
    500: '#def46c',
    950: '#000000',
  },
}
SCSS
$custom: #def46c;
$custom-light: #ebf79a;
$custom-dark: #000000;
JSON
{
  "hex": "#def46c",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 108
  },
  "hsl": {
    "h": 69.706,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92447,
    "c": 0.16211,
    "h": 117.4
  },
  "luminance": 0.81314
}

Semantic roles & 50–950 ramp

primary
#DEF46C
secondary
#4F37CD
accent
#03E327
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF46C

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

Preview Lab → · Contrast checker → · Palette generator →

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