#DEFD57#DEFD57

#DEFD57 is a very light, vivid yellow-green. Relative luminance 0.865; OKLCH L 94.2% C 0.189 H 119.3°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#DEFD57
RGBrgb(222, 253, 87)
HSLhsl(71, 98%, 67%)
HSVhsv(71, 66%, 99%)
CMYKcmyk(12.3%, 0%, 65.6%, 0.8%)
CIE-LABlab(94.51, -31.42, 72.87)
CIE-LCHlch(94.51, 79.35, 113.33°)
OKLaboklab(94.19% -0.0923 0.1646)
OKLCHoklch(94.19% 0.189 119.3)
XYZxyz(66.9710, 86.4687, 22.1770)
Luminance0.8647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFD57 #7657FD
analogous
#FDC957 #DEFD57 #8BFD57
triadic
#DEFD57 #57DEFD #FD57DE
tetradic
#DEFD57 #57FDC9 #7657FD #FD578B
square
#DEFD57 #57FDC9 #7657FD #FD578B
split-complementary
#DEFD57 #578BFD #C957FD
monochromatic
#AFD703 #D2FC1B #DEFD57 #EAFE93 #F6FED0

Accessibility & contrast

On white

1.15
#DEFD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#DEFD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFD57
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFD57#FFFFFF#000000##000000
##DEFD571.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF3F
Deuteranopia (green-blind)
#FFF063
Tritanopia (blue-blind)
#EAF0DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #defd57;
/* rgb */ color: rgb(222, 253, 87);
/* oklch */ color: oklch(94.2% 0.189 119.3);
Tailwind
colors: {
  custom: {
    50: '#ecfe8e',
    500: '#defd57',
    950: '#000000',
  },
}
SCSS
$custom: #defd57;
$custom-light: #ecfe8e;
$custom-dark: #000000;
JSON
{
  "hex": "#defd57",
  "rgb": {
    "r": 222,
    "g": 253,
    "b": 87
  },
  "hsl": {
    "h": 71.205,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.94192,
    "c": 0.18874,
    "h": 119.3
  },
  "luminance": 0.86468
}

Semantic roles & 50–950 ramp

primary
#DEFD57
secondary
#4727D1
accent
#00E62B
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEFD57

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

Preview Lab → · Contrast checker → · Palette generator →

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