#2E8A1F#2E8A1F

#2E8A1F is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.165 H 141.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2E8A1F
RGBrgb(46, 138, 31)
HSLhsl(112, 63%, 33%)
HSVhsv(112, 78%, 54%)
CMYKcmyk(66.7%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.52, -47.09, 46.14)
CIE-LCHlch(50.52, 65.93, 135.59°)
OKLaboklab(55.79% -0.1287 0.1037)
OKLCHoklch(55.79% 0.165 141.2)
XYZxyz(10.4620, 18.8557, 4.3842)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8A1F #7B1F8A
analogous
#638A1F #2E8A1F #1F8A45
triadic
#2E8A1F #1F2E8A #8A1F2E
tetradic
#2E8A1F #1F638A #7B1F8A #8A451F
square
#2E8A1F #1F638A #7B1F8A #8A451F
split-complementary
#2E8A1F #451F8A #8A1F63
monochromatic
#0D2609 #1D5814 #2E8A1F #3FBC2A #60D74C

Accessibility & contrast

On white

4.40
#2E8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2E8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8A1F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8A1F#FFFFFF#000000##000000
##2E8A1F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#1D8576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e8a1f;
/* rgb */ color: rgb(46, 138, 31);
/* oklch */ color: oklch(55.8% 0.165 141.2);
Tailwind
colors: {
  custom: {
    50: '#74ad63',
    500: '#2e8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e8a1f;
$custom-light: #74ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8a1f",
  "rgb": {
    "r": 46,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 111.589,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55793,
    "c": 0.16525,
    "h": 141.2
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#2E8A1F
secondary
#AA4BBA
accent
#41E6CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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