#DEF46A#DEF46A

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

Color values

HEX#DEF46A
RGBrgb(222, 244, 106)
HSLhsl(70, 86%, 69%)
HSVhsv(70, 57%, 96%)
CMYKcmyk(9%, 0%, 56.6%, 4.3%)
CIE-LABlab(92.25, -25.92, 62.74)
CIE-LCHlch(92.25, 67.88, 112.45°)
OKLaboklab(92.43% -0.0752 0.1456)
OKLCHoklch(92.43% 0.164 117.3)
XYZxyz(65.0775, 81.2722, 25.8917)
Luminance0.8127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF46A #806AF4
analogous
#F4C56A #DEF46A #99F46A
triadic
#DEF46A #6ADEF4 #F46ADE
tetradic
#DEF46A #6AF4C5 #806AF4 #F46A99
square
#DEF46A #6AF4C5 #806AF4 #F46A99
split-complementary
#DEF46A #6A99F4 #C56AF4
monochromatic
#B5D410 #D1F031 #DEF46A #EBF8A3 #F7FCDC

Accessibility & contrast

On white

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

On black

17.25
#DEF46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF46A
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF46A#FFFFFF#000000##000000
##DEF46A1.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def46a;
/* rgb */ color: rgb(222, 244, 106);
/* oklch */ color: oklch(92.4% 0.164 117.3);
Tailwind
colors: {
  custom: {
    50: '#ebf799',
    500: '#def46a',
    950: '#000000',
  },
}
SCSS
$custom: #def46a;
$custom-light: #ebf799;
$custom-dark: #000000;
JSON
{
  "hex": "#def46a",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 106
  },
  "hsl": {
    "h": 69.565,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.92426,
    "c": 0.16382,
    "h": 117.3
  },
  "luminance": 0.81272
}

Semantic roles & 50–950 ramp

primary
#DEF46A
secondary
#4D35CD
accent
#03E326
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DEF46A

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

Preview Lab → · Contrast checker → · Palette generator →

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