#2E8D1F#2E8D1F

#2E8D1F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.169 H 141.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2E8D1F
RGBrgb(46, 141, 31)
HSLhsl(112, 64%, 34%)
HSVhsv(112, 78%, 55%)
CMYKcmyk(67.4%, 0%, 78%, 44.7%)
CIE-LABlab(51.53, -48.16, 47.13)
CIE-LCHlch(51.53, 67.39, 135.62°)
OKLaboklab(56.63% -0.1316 0.1057)
OKLCHoklch(56.63% 0.169 141.2)
XYZxyz(10.8983, 19.7284, 4.5297)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8D1F #7E1F8D
analogous
#658D1F #2E8D1F #1F8D47
triadic
#2E8D1F #1F2E8D #8D1F2E
tetradic
#2E8D1F #1F658D #7E1F8D #8D471F
square
#2E8D1F #1F658D #7E1F8D #8D471F
split-complementary
#2E8D1F #471F8D #8D1F65
monochromatic
#0D2909 #1E5B14 #2E8D1F #3EBF2A #61D84E

Accessibility & contrast

On white

4.25
#2E8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2E8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8D1F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8D1F#FFFFFF#000000##000000
##2E8D1F1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#1C8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e8d1f;
/* rgb */ color: rgb(46, 141, 31);
/* oklch */ color: oklch(56.6% 0.169 141.2);
Tailwind
colors: {
  custom: {
    50: '#75af63',
    500: '#2e8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #2e8d1f;
$custom-light: #75af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8d1f",
  "rgb": {
    "r": 46,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 111.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5663,
    "c": 0.1688,
    "h": 141.2
  },
  "luminance": 0.1973
}

Semantic roles & 50–950 ramp

primary
#2E8D1F
secondary
#AC4DBB
accent
#41E7D0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2E8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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