#DEF758#DEF758

#DEF758 is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 92.9% C 0.181 H 117.7°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#DEF758
RGBrgb(222, 247, 88)
HSLhsl(69, 91%, 66%)
HSVhsv(69, 64%, 97%)
CMYKcmyk(10.1%, 0%, 64.4%, 3.1%)
CIE-LABlab(92.91, -28.58, 70.82)
CIE-LCHlch(92.91, 76.37, 111.98°)
OKLaboklab(92.9% -0.0843 0.1605)
OKLCHoklch(92.9% 0.181 117.7)
XYZxyz(65.1477, 82.7563, 21.7722)
Luminance0.8276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF758 #7158F7
analogous
#F7C058 #DEF758 #8EF758
triadic
#DEF758 #58DEF7 #F758DE
tetradic
#DEF758 #58F7C0 #7158F7 #F7588E
square
#DEF758 #58F7C0 #7158F7 #F7588E
split-complementary
#DEF758 #588EF7 #C058F7
monochromatic
#ADCB0A #D2F41E #DEF758 #EAFA92 #F5FDCD

Accessibility & contrast

On white

1.20
#DEF758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.55
#DEF758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF758
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF758#FFFFFF#000000##000000
##DEF7581.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA42
Deuteranopia (green-blind)
#FFEB63
Tritanopia (blue-blind)
#EBEAD7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def758;
/* rgb */ color: rgb(222, 247, 88);
/* oklch */ color: oklch(92.9% 0.181 117.7);
Tailwind
colors: {
  custom: {
    50: '#ebf98f',
    500: '#def758',
    950: '#000000',
  },
}
SCSS
$custom: #def758;
$custom-light: #ebf98f;
$custom-dark: #000000;
JSON
{
  "hex": "#def758",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 88
  },
  "hsl": {
    "h": 69.434,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92904,
    "c": 0.18126,
    "h": 117.7
  },
  "luminance": 0.82756
}

Semantic roles & 50–950 ramp

primary
#DEF758
secondary
#452CC7
accent
#00E624
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF758

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

Preview Lab → · Contrast checker → · Palette generator →

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