#2E8E1F#2E8E1F

#2E8E1F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.170 H 141.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2E8E1F
RGBrgb(46, 142, 31)
HSLhsl(112, 64%, 34%)
HSVhsv(112, 78%, 56%)
CMYKcmyk(67.6%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.87, -48.52, 47.46)
CIE-LCHlch(51.87, 67.87, 135.63°)
OKLaboklab(56.91% -0.1325 0.1064)
OKLCHoklch(56.91% 0.17 141.2)
XYZxyz(11.0465, 20.0246, 4.5791)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8E1F #7F1F8E
analogous
#668E1F #2E8E1F #1F8E48
triadic
#2E8E1F #1F2E8E #8E1F2E
tetradic
#2E8E1F #1F668E #7F1F8E #8E481F
square
#2E8E1F #1F668E #7F1F8E #8E481F
split-complementary
#2E8E1F #481F8E #8E1F66
monochromatic
#0D2A09 #1E5C14 #2E8E1F #3EC02A #61D94F

Accessibility & contrast

On white

4.20
#2E8E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2E8E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8E1F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8E1F#FFFFFF#000000##000000
##2E8E1F1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928004
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#1B8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e8e1f;
/* rgb */ color: rgb(46, 142, 31);
/* oklch */ color: oklch(56.9% 0.170 141.2);
Tailwind
colors: {
  custom: {
    50: '#75b063',
    500: '#2e8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e8e1f;
$custom-light: #75b063;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8e1f",
  "rgb": {
    "r": 46,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 111.892,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.16998,
    "h": 141.2
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#2E8E1F
secondary
#AD4DBB
accent
#41E7D1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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