#DEF285#DEF285

#DEF285 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 92.3% C 0.136 H 117.7°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#DEF285
RGBrgb(222, 242, 133)
HSLhsl(71, 81%, 74%)
HSVhsv(71, 45%, 95%)
CMYKcmyk(8.3%, 0%, 45%, 5.1%)
CIE-LABlab(92.01, -22.55, 50.16)
CIE-LCHlch(92.01, 55.00, 114.21°)
OKLaboklab(92.33% -0.0632 0.1205)
OKLCHoklch(92.33% 0.136 117.7)
XYZxyz(66.1105, 80.7278, 34.2850)
Luminance0.8073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF285 #9985F2
analogous
#F2CF85 #DEF285 #A7F285
triadic
#DEF285 #85DEF2 #F285DE
tetradic
#DEF285 #85F2CF #9985F2 #F285A7
square
#DEF285 #85F2CF #9985F2 #F285A7
split-complementary
#DEF285 #85A7F2 #CF85F2
monochromatic
#BFE418 #CFEC4E #DEF285 #EDF8BC #F8FCE3

Accessibility & contrast

On white

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

On black

17.15
#DEF285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF285
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF285#FFFFFF#000000##000000
##DEF2851.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87C
Deuteranopia (green-blind)
#FDE98B
Tritanopia (blue-blind)
#E8E8D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def285;
/* rgb */ color: rgb(222, 242, 133);
/* oklch */ color: oklch(92.3% 0.136 117.7);
Tailwind
colors: {
  custom: {
    50: '#eaf6aa',
    500: '#def285',
    950: '#000000',
  },
}
SCSS
$custom: #def285;
$custom-light: #eaf6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#def285",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 133
  },
  "hsl": {
    "h": 71.009,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92326,
    "c": 0.13609,
    "h": 117.7
  },
  "luminance": 0.80727
}

Semantic roles & 50–950 ramp

primary
#DEF285
secondary
#654ECE
accent
#08DD2F
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF285

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

Preview Lab → · Contrast checker → · Palette generator →

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