#DEF55F#DEF55F

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

Color values

HEX#DEF55F
RGBrgb(222, 245, 95)
HSLhsl(69, 88%, 67%)
HSVhsv(69, 61%, 96%)
CMYKcmyk(9.4%, 0%, 61.2%, 3.9%)
CIE-LABlab(92.43, -27.19, 67.54)
CIE-LCHlch(92.43, 72.80, 111.93°)
OKLaboklab(92.53% -0.0798 0.1545)
OKLCHoklch(92.53% 0.174 117.3)
XYZxyz(64.8434, 81.6613, 23.1705)
Luminance0.8166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF55F #765FF5
analogous
#F5C15F #DEF55F #93F55F
triadic
#DEF55F #5FDEF5 #F55FDE
tetradic
#DEF55F #5FF5C1 #765FF5 #F55F93
square
#DEF55F #5FF5C1 #765FF5 #F55F93
split-complementary
#DEF55F #5F93F5 #C15FF5
monochromatic
#AFCD0D #D2F125 #DEF55F #EAF999 #F6FCD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF55F#FFFFFF#000000##000000
##DEF55F1.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)
#FFE94D
Deuteranopia (green-blind)
#FFEA69
Tritanopia (blue-blind)
#EAE8D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def55f;
/* rgb */ color: rgb(222, 245, 95);
/* oklch */ color: oklch(92.5% 0.174 117.3);
Tailwind
colors: {
  custom: {
    50: '#ebf892',
    500: '#def55f',
    950: '#000000',
  },
}
SCSS
$custom: #def55f;
$custom-light: #ebf892;
$custom-dark: #000000;
JSON
{
  "hex": "#def55f",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 95
  },
  "hsl": {
    "h": 69.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92534,
    "c": 0.17385,
    "h": 117.3
  },
  "luminance": 0.81661
}

Semantic roles & 50–950 ramp

primary
#DEF55F
secondary
#472FC9
accent
#01E524
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF55F

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

Preview Lab → · Contrast checker → · Palette generator →

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