#2E8B1F#2E8B1F

#2E8B1F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.166 H 141.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2E8B1F
RGBrgb(46, 139, 31)
HSLhsl(112, 64%, 33%)
HSVhsv(112, 78%, 55%)
CMYKcmyk(66.9%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.86, -47.45, 46.47)
CIE-LCHlch(50.86, 66.41, 135.60°)
OKLaboklab(56.07% -0.1297 0.1043)
OKLCHoklch(56.07% 0.166 141.2)
XYZxyz(10.6061, 19.1439, 4.4323)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8B1F #7C1F8B
analogous
#648B1F #2E8B1F #1F8B46
triadic
#2E8B1F #1F2E8B #8B1F2E
tetradic
#2E8B1F #1F648B #7C1F8B #8B461F
square
#2E8B1F #1F648B #7C1F8B #8B461F
split-complementary
#2E8B1F #461F8B #8B1F64
monochromatic
#0D2709 #1D5914 #2E8B1F #3FBD2A #60D74D

Accessibility & contrast

On white

4.35
#2E8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2E8B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8B1F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8B1F#FFFFFF#000000##000000
##2E8B1F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#1D8676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e8b1f;
/* rgb */ color: rgb(46, 139, 31);
/* oklch */ color: oklch(56.1% 0.166 141.2);
Tailwind
colors: {
  custom: {
    50: '#74ae63',
    500: '#2e8b1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e8b1f;
$custom-light: #74ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8b1f",
  "rgb": {
    "r": 46,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 111.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.16644,
    "h": 141.2
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#2E8B1F
secondary
#AB4CBA
accent
#41E7D0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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