#DEF358#DEF358

#DEF358 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.0% C 0.177 H 116.6°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#DEF358
RGBrgb(222, 243, 88)
HSLhsl(68, 87%, 65%)
HSVhsv(68, 64%, 95%)
CMYKcmyk(8.6%, 0%, 63.8%, 4.7%)
CIE-LABlab(91.84, -26.71, 69.70)
CIE-LCHlch(91.84, 74.64, 110.97°)
OKLaboklab(92.04% -0.0791 0.1581)
OKLCHoklch(92.04% 0.177 116.6)
XYZxyz(63.9376, 80.3362, 21.3688)
Luminance0.8034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF358 #6D58F3
analogous
#F3BA58 #DEF358 #91F358
triadic
#DEF358 #58DEF3 #F358DE
tetradic
#DEF358 #58F3BA #6D58F3 #F35891
square
#DEF358 #58F3BA #6D58F3 #F35891
split-complementary
#DEF358 #5891F3 #BA58F3
monochromatic
#AAC30E #D3EF1F #DEF358 #E9F791 #F5FBCA

Accessibility & contrast

On white

1.23
#DEF358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#DEF358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF358
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF358#FFFFFF#000000##000000
##DEF3581.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE743
Deuteranopia (green-blind)
#FFE963
Tritanopia (blue-blind)
#EBE6D3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def358;
/* rgb */ color: rgb(222, 243, 88);
/* oklch */ color: oklch(92.0% 0.177 116.6);
Tailwind
colors: {
  custom: {
    50: '#ebf78e',
    500: '#def358',
    950: '#000000',
  },
}
SCSS
$custom: #def358;
$custom-light: #ebf78e;
$custom-dark: #000000;
JSON
{
  "hex": "#def358",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 88
  },
  "hsl": {
    "h": 68.129,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92043,
    "c": 0.17677,
    "h": 116.6
  },
  "luminance": 0.80335
}

Semantic roles & 50–950 ramp

primary
#DEF358
secondary
#432FC0
accent
#02E321
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DEF358

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

Preview Lab → · Contrast checker → · Palette generator →

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