#DEF180#DEF180

#DEF180 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 92.0% C 0.140 H 117.1°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#DEF180
RGBrgb(222, 241, 128)
HSLhsl(70, 80%, 72%)
HSVhsv(70, 47%, 95%)
CMYKcmyk(7.9%, 0%, 46.9%, 5.5%)
CIE-LABlab(91.68, -22.57, 52.13)
CIE-LCHlch(91.68, 56.80, 113.41°)
OKLaboklab(92.05% -0.0637 0.1245)
OKLCHoklch(92.05% 0.14 117.1)
XYZxyz(65.4764, 79.9993, 32.4100)
Luminance0.8000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF180 #9380F1
analogous
#F1CB80 #DEF180 #A6F180
triadic
#DEF180 #80DEF1 #F180DE
tetradic
#DEF180 #80F1CB #9380F1 #F180A6
square
#DEF180 #80F1CB #9380F1 #F180A6
split-complementary
#DEF180 #80A6F1 #CB80F1
monochromatic
#BDDE18 #D0EB49 #DEF180 #ECF7B7 #F8FCE3

Accessibility & contrast

On white

1.24
#DEF180 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#DEF180 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF180
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF180#FFFFFF#000000##000000
##DEF1801.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE776
Deuteranopia (green-blind)
#FCE886
Tritanopia (blue-blind)
#E9E6D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def180;
/* rgb */ color: rgb(222, 241, 128);
/* oklch */ color: oklch(92.0% 0.140 117.1);
Tailwind
colors: {
  custom: {
    50: '#eaf5a7',
    500: '#def180',
    950: '#000000',
  },
}
SCSS
$custom: #def180;
$custom-light: #eaf5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#def180",
  "rgb": {
    "r": 222,
    "g": 241,
    "b": 128
  },
  "hsl": {
    "h": 70.088,
    "s": 80.142,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92046,
    "c": 0.13986,
    "h": 117.1
  },
  "luminance": 0.79999
}

Semantic roles & 50–950 ramp

primary
#DEF180
secondary
#5F49CC
accent
#09DC2D
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#161710
muted
#858580

Preview Lab

Preview with #DEF180

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

Preview Lab → · Contrast checker → · Palette generator →

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