#DEF37B#DEF37B

#DEF37B is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.4% C 0.147 H 117.6°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#DEF37B
RGBrgb(222, 243, 123)
HSLhsl(71, 83%, 72%)
HSVhsv(71, 49%, 95%)
CMYKcmyk(8.6%, 0%, 49.4%, 4.7%)
CIE-LABlab(92.16, -24.00, 55.03)
CIE-LCHlch(92.16, 60.03, 113.56°)
OKLaboklab(92.41% -0.0682 0.1305)
OKLCHoklch(92.41% 0.147 117.6)
XYZxyz(65.7507, 81.0614, 30.9177)
Luminance0.8106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF37B #907BF3
analogous
#F3CC7B #DEF37B #A2F37B
triadic
#DEF37B #7BDEF3 #F37BDE
tetradic
#DEF37B #7BF3CC #907BF3 #F37BA2
square
#DEF37B #7BF3CC #907BF3 #F37BA2
split-complementary
#DEF37B #7BA2F3 #CC7BF3
monochromatic
#BCDF14 #D0EE43 #DEF37B #ECF8B3 #F8FCE3

Accessibility & contrast

On white

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

On black

17.21
#DEF37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF37B
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF37B#FFFFFF#000000##000000
##DEF37B1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE870
Deuteranopia (green-blind)
#FEE982
Tritanopia (blue-blind)
#E9E8D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #def37b;
/* rgb */ color: rgb(222, 243, 123);
/* oklch */ color: oklch(92.4% 0.147 117.6);
Tailwind
colors: {
  custom: {
    50: '#eaf7a4',
    500: '#def37b',
    950: '#000000',
  },
}
SCSS
$custom: #def37b;
$custom-light: #eaf7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#def37b",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 123
  },
  "hsl": {
    "h": 70.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92407,
    "c": 0.14724,
    "h": 117.6
  },
  "luminance": 0.81061
}

Semantic roles & 50–950 ramp

primary
#DEF37B
secondary
#5C44CE
accent
#06E02C
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF37B

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

Preview Lab → · Contrast checker → · Palette generator →

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