#2E9821#2E9821

#2E9821 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.180 H 141.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2E9821
RGBrgb(46, 152, 33)
HSLhsl(113, 64%, 36%)
HSVhsv(113, 78%, 60%)
CMYKcmyk(69.7%, 0%, 78.3%, 40.4%)
CIE-LABlab(55.22, -51.85, 50.05)
CIE-LCHlch(55.22, 72.06, 136.02°)
OKLaboklab(59.7% -0.1414 0.1121)
OKLCHoklch(59.7% 0.18 141.6)
XYZxyz(12.6288, 23.1458, 5.2406)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E9821 #8B2198
analogous
#6A9821 #2E9821 #219850
triadic
#2E9821 #212E98 #98212E
tetradic
#2E9821 #216A98 #8B2198 #985021
square
#2E9821 #216A98 #8B2198 #985021
split-complementary
#2E9821 #502198 #98216A
monochromatic
#10330B #1F6616 #2E9821 #3DCA2C #67DB59

Accessibility & contrast

On white

3.73
#2E9821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2E9821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E9821
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E9821#FFFFFF#000000##000000
##2E98211.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8903
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#159382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2e9821;
/* rgb */ color: rgb(46, 152, 33);
/* oklch */ color: oklch(59.7% 0.180 141.6);
Tailwind
colors: {
  custom: {
    50: '#77b766',
    500: '#2e9821',
    950: '#000000',
  },
}
SCSS
$custom: #2e9821;
$custom-light: #77b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2e9821",
  "rgb": {
    "r": 46,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 113.445,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59696,
    "c": 0.18048,
    "h": 141.6
  },
  "luminance": 0.23147
}

Semantic roles & 50–950 ramp

primary
#2E9821
secondary
#B356BF
accent
#40E7D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2E9821

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

Preview Lab → · Contrast checker → · Palette generator →

#2E9821 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva