#DEF585#DEF585

#DEF585 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 93.0% C 0.140 H 118.7°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#DEF585
RGBrgb(222, 245, 133)
HSLhsl(72, 85%, 74%)
HSVhsv(72, 46%, 96%)
CMYKcmyk(9.4%, 0%, 45.7%, 3.9%)
CIE-LABlab(92.81, -23.99, 51.14)
CIE-LCHlch(92.81, 56.48, 115.13°)
OKLaboklab(92.96% -0.0673 0.1227)
OKLCHoklch(92.96% 0.14 118.7)
XYZxyz(67.0107, 82.5282, 34.5851)
Luminance0.8253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF585 #9C85F5
analogous
#F5D485 #DEF585 #A6F585
triadic
#DEF585 #85DEF5 #F585DE
tetradic
#DEF585 #85F5D4 #9C85F5 #F585A6
square
#DEF585 #85F5D4 #9C85F5 #F585A6
split-complementary
#DEF585 #85A6F5 #D485F5
monochromatic
#BFEC14 #CFF04C #DEF585 #EDFABE #F7FDE3

Accessibility & contrast

On white

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

On black

17.51
#DEF585 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF585
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF585#FFFFFF#000000##000000
##DEF5851.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7C
Deuteranopia (green-blind)
#FFEB8B
Tritanopia (blue-blind)
#E8EBDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def585;
/* rgb */ color: rgb(222, 245, 133);
/* oklch */ color: oklch(93.0% 0.140 118.7);
Tailwind
colors: {
  custom: {
    50: '#eaf8aa',
    500: '#def585',
    950: '#000000',
  },
}
SCSS
$custom: #def585;
$custom-light: #eaf8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#def585",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 133
  },
  "hsl": {
    "h": 72.321,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92964,
    "c": 0.13992,
    "h": 118.7
  },
  "luminance": 0.82528
}

Semantic roles & 50–950 ramp

primary
#DEF585
secondary
#684DD2
accent
#04E132
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF585

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

Preview Lab → · Contrast checker → · Palette generator →

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