#DEFA57#DEFA57

#DEFA57 is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.5% C 0.185 H 118.5°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#DEFA57
RGBrgb(222, 250, 87)
HSLhsl(70, 94%, 66%)
HSVhsv(70, 65%, 98%)
CMYKcmyk(11.2%, 0%, 65.2%, 2%)
CIE-LABlab(93.71, -30.04, 72.03)
CIE-LCHlch(93.71, 78.04, 112.64°)
OKLaboklab(93.54% -0.0885 0.1629)
OKLCHoklch(93.54% 0.185 118.5)
XYZxyz(66.0313, 84.5894, 21.8638)
Luminance0.8459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA57 #7357FA
analogous
#FAC557 #DEFA57 #8CFA57
triadic
#DEFA57 #57DEFA #FA57DE
tetradic
#DEFA57 #57FAC5 #7357FA #FA578C
square
#DEFA57 #57FAC5 #7357FA #FA578C
split-complementary
#DEFA57 #578CFA #C557FA
monochromatic
#AED006 #D2F81C #DEFA57 #EAFC92 #F5FECE

Accessibility & contrast

On white

1.17
#DEFA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#DEFA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFA57
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFA57#FFFFFF#000000##000000
##DEFA571.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED40
Deuteranopia (green-blind)
#FFEE63
Tritanopia (blue-blind)
#EAEDD9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #defa57;
/* rgb */ color: rgb(222, 250, 87);
/* oklch */ color: oklch(93.5% 0.185 118.5);
Tailwind
colors: {
  custom: {
    50: '#ecfc8e',
    500: '#defa57',
    950: '#000000',
  },
}
SCSS
$custom: #defa57;
$custom-light: #ecfc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#defa57",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 70.307,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93543,
    "c": 0.18534,
    "h": 118.5
  },
  "luminance": 0.84589
}

Semantic roles & 50–950 ramp

primary
#DEFA57
secondary
#462ACB
accent
#00E627
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEFA57

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

Preview Lab → · Contrast checker → · Palette generator →

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