#DEF185#DEF185

#DEF185 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 92.1% C 0.135 H 117.3°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#DEF185
RGBrgb(222, 241, 133)
HSLhsl(71, 79%, 73%)
HSVhsv(71, 45%, 95%)
CMYKcmyk(7.9%, 0%, 44.8%, 5.5%)
CIE-LABlab(91.75, -22.07, 49.83)
CIE-LCHlch(91.75, 54.50, 113.89°)
OKLaboklab(92.11% -0.0619 0.1198)
OKLCHoklch(92.11% 0.135 117.3)
XYZxyz(65.8137, 80.1342, 34.1861)
Luminance0.8013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF185 #9885F1
analogous
#F1CE85 #DEF185 #A8F185
triadic
#DEF185 #85DEF1 #F185DE
tetradic
#DEF185 #85F1CE #9885F1 #F185A8
square
#DEF185 #85F1CE #9885F1 #F185A8
split-complementary
#DEF185 #85A8F1 #CE85F1
monochromatic
#BFE21A #CFEB4E #DEF185 #EDF7BC #F8FCE4

Accessibility & contrast

On white

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

On black

17.03
#DEF185 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF185
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF185#FFFFFF#000000##000000
##DEF1851.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77C
Deuteranopia (green-blind)
#FCE88B
Tritanopia (blue-blind)
#E8E7D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def185;
/* rgb */ color: rgb(222, 241, 133);
/* oklch */ color: oklch(92.1% 0.135 117.3);
Tailwind
colors: {
  custom: {
    50: '#eaf5aa',
    500: '#def185',
    950: '#000000',
  },
}
SCSS
$custom: #def185;
$custom-light: #eaf5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#def185",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 133
  },
  "hsl": {
    "h": 70.556,
    "s": 79.412,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92114,
    "c": 0.13482,
    "h": 117.3
  },
  "luminance": 0.80134
}

Semantic roles & 50–950 ramp

primary
#DEF185
secondary
#644ECC
accent
#0ADC2F
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF185

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

Preview Lab → · Contrast checker → · Palette generator →

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