#2E8A16#2E8A16

#2E8A16 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.170 H 140.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2E8A16
RGBrgb(46, 138, 22)
HSLhsl(108, 73%, 31%)
HSVhsv(108, 84%, 54%)
CMYKcmyk(66.7%, 0%, 84.1%, 45.9%)
CIE-LABlab(50.47, -47.67, 48.99)
CIE-LCHlch(50.47, 68.35, 134.22°)
OKLaboklab(55.74% -0.1307 0.1083)
OKLCHoklch(55.74% 0.17 140.4)
XYZxyz(10.3595, 18.8147, 3.8446)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8A16 #72168A
analogous
#688A16 #2E8A16 #168A38
triadic
#2E8A16 #162E8A #8A162E
tetradic
#2E8A16 #16688A #72168A #8A3816
square
#2E8A16 #16688A #72168A #8A3816
split-complementary
#2E8A16 #38168A #8A1668
monochromatic
#0B2005 #1C550E #2E8A16 #40BF1E #5DE03B

Accessibility & contrast

On white

4.41
#2E8A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2E8A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8A16
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8A16#FFFFFF#000000##000000
##2E8A161.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#1F8575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8a16;
/* rgb */ color: rgb(46, 138, 22);
/* oklch */ color: oklch(55.7% 0.170 140.4);
Tailwind
colors: {
  custom: {
    50: '#74ad5f',
    500: '#2e8a16',
    950: '#000000',
  },
}
SCSS
$custom: #2e8a16;
$custom-light: #74ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8a16",
  "rgb": {
    "r": 46,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 107.586,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55737,
    "c": 0.16975,
    "h": 140.4
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#2E8A16
secondary
#A33EBE
accent
#39EFC9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E8A16

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

Preview Lab → · Contrast checker → · Palette generator →

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