#DEF457#DEF457

#DEF457 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.3% C 0.179 H 116.9°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#DEF457
RGBrgb(222, 244, 87)
HSLhsl(68, 88%, 65%)
HSVhsv(68, 64%, 96%)
CMYKcmyk(9%, 0%, 64.3%, 4.3%)
CIE-LABlab(92.10, -27.24, 70.36)
CIE-LCHlch(92.10, 75.45, 111.16°)
OKLaboklab(92.25% -0.0807 0.1593)
OKLCHoklch(92.25% 0.179 116.9)
XYZxyz(64.1965, 80.9198, 21.2522)
Luminance0.8092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF457 #6D57F4
analogous
#F4BC57 #DEF457 #8FF457
triadic
#DEF457 #57DEF4 #F457DE
tetradic
#DEF457 #57F4BC #6D57F4 #F4578F
square
#DEF457 #57F4BC #6D57F4 #F4578F
split-complementary
#DEF457 #578FF4 #BC57F4
monochromatic
#AAC40D #D3F01E #DEF457 #E9F890 #F5FCCA

Accessibility & contrast

On white

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

On black

17.18
#DEF457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF457
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF457#FFFFFF#000000##000000
##DEF4571.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE842
Deuteranopia (green-blind)
#FFE962
Tritanopia (blue-blind)
#EBE7D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def457;
/* rgb */ color: rgb(222, 244, 87);
/* oklch */ color: oklch(92.3% 0.179 116.9);
Tailwind
colors: {
  custom: {
    50: '#ebf78e',
    500: '#def457',
    950: '#000000',
  },
}
SCSS
$custom: #def457;
$custom-light: #ebf78e;
$custom-dark: #000000;
JSON
{
  "hex": "#def457",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 87
  },
  "hsl": {
    "h": 68.408,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.9225,
    "c": 0.1786,
    "h": 116.9
  },
  "luminance": 0.80919
}

Semantic roles & 50–950 ramp

primary
#DEF457
secondary
#432EC1
accent
#01E421
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF457

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

Preview Lab → · Contrast checker → · Palette generator →

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