#DEF55E#DEF55E

#DEF55E is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.5% C 0.175 H 117.3°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#DEF55E
RGBrgb(222, 245, 94)
HSLhsl(69, 88%, 66%)
HSVhsv(69, 62%, 96%)
CMYKcmyk(9.4%, 0%, 61.6%, 3.9%)
CIE-LABlab(92.42, -27.26, 67.93)
CIE-LCHlch(92.42, 73.20, 111.86°)
OKLaboklab(92.53% -0.0801 0.1552)
OKLCHoklch(92.53% 0.175 117.3)
XYZxyz(64.7982, 81.6432, 22.9327)
Luminance0.8164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF55E #755EF5
analogous
#F5C15E #DEF55E #93F55E
triadic
#DEF55E #5EDEF5 #F55EDE
tetradic
#DEF55E #5EF5C1 #755EF5 #F55E93
square
#DEF55E #5EF5C1 #755EF5 #F55E93
split-complementary
#DEF55E #5E93F5 #C15EF5
monochromatic
#AFCC0D #D2F124 #DEF55E #EAF998 #F6FCD1

Accessibility & contrast

On white

1.21
#DEF55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#DEF55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF55E
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF55E#FFFFFF#000000##000000
##DEF55E1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94B
Deuteranopia (green-blind)
#FFEA68
Tritanopia (blue-blind)
#EBE8D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def55e;
/* rgb */ color: rgb(222, 245, 94);
/* oklch */ color: oklch(92.5% 0.175 117.3);
Tailwind
colors: {
  custom: {
    50: '#ebf892',
    500: '#def55e',
    950: '#000000',
  },
}
SCSS
$custom: #def55e;
$custom-light: #ebf892;
$custom-dark: #000000;
JSON
{
  "hex": "#def55e",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 94
  },
  "hsl": {
    "h": 69.139,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92525,
    "c": 0.1746,
    "h": 117.3
  },
  "luminance": 0.81643
}

Semantic roles & 50–950 ramp

primary
#DEF55E
secondary
#462FC8
accent
#01E523
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF55E

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

Preview Lab → · Contrast checker → · Palette generator →

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