#2E8F1F#2E8F1F

#2E8F1F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.171 H 141.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2E8F1F
RGBrgb(46, 143, 31)
HSLhsl(112, 64%, 34%)
HSVhsv(112, 78%, 56%)
CMYKcmyk(67.8%, 0%, 78.3%, 43.9%)
CIE-LABlab(52.20, -48.87, 47.79)
CIE-LCHlch(52.20, 68.35, 135.64°)
OKLaboklab(57.19% -0.1335 0.1071)
OKLCHoklch(57.19% 0.171 141.3)
XYZxyz(11.1959, 20.3235, 4.6289)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8F1F #801F8F
analogous
#668F1F #2E8F1F #1F8F48
triadic
#2E8F1F #1F2E8F #8F1F2E
tetradic
#2E8F1F #1F668F #801F8F #8F481F
square
#2E8F1F #1F668F #801F8F #8F481F
split-complementary
#2E8F1F #481F8F #8F1F66
monochromatic
#0E2A09 #1E5D14 #2E8F1F #3EC12A #62D94F

Accessibility & contrast

On white

4.15
#2E8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2E8F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8F1F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8F1F#FFFFFF#000000##000000
##2E8F1F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#877A2C
Tritanopia (blue-blind)
#1B8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e8f1f;
/* rgb */ color: rgb(46, 143, 31);
/* oklch */ color: oklch(57.2% 0.171 141.3);
Tailwind
colors: {
  custom: {
    50: '#75b164',
    500: '#2e8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e8f1f;
$custom-light: #75b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8f1f",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 111.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.17114,
    "h": 141.3
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#2E8F1F
secondary
#AD4EBC
accent
#40E7D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2E8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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