#2E862F#2E862F

#2E862F is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.149 H 143.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2E862F
RGBrgb(46, 134, 47)
HSLhsl(121, 49%, 35%)
HSVhsv(121, 66%, 53%)
CMYKcmyk(65.7%, 0%, 64.9%, 47.5%)
CIE-LABlab(49.30, -44.12, 38.22)
CIE-LCHlch(49.30, 58.37, 139.10°)
OKLaboklab(54.82% -0.1198 0.0891)
OKLCHoklch(54.82% 0.149 143.4)
XYZxyz(10.1643, 17.8353, 5.5957)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E862F #862E85
analogous
#59862E #2E862F #2E865B
triadic
#2E862F #2F2E86 #862F2E
tetradic
#2E862F #2E5986 #862E85 #865B2E
square
#2E862F #2E5986 #862E85 #865B2E
split-complementary
#2E862F #5B2E86 #862E59
monochromatic
#0F2B0F #1E581F #2E862F #3EB43F #64CA66

Accessibility & contrast

On white

4.60
#2E862F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2E862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E862F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E862F#FFFFFF#000000##FFFFFF
##2E862F1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#1B8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e862f;
/* rgb */ color: rgb(46, 134, 47);
/* oklch */ color: oklch(54.8% 0.149 143.4);
Tailwind
colors: {
  custom: {
    50: '#72aa6b',
    500: '#2e862f',
    950: '#000000',
  },
}
SCSS
$custom: #2e862f;
$custom-light: #72aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e862f",
  "rgb": {
    "r": 46,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 120.682,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.14925,
    "h": 143.4
  },
  "luminance": 0.17836
}

Semantic roles & 50–950 ramp

primary
#2E862F
secondary
#B15FB0
accent
#4FD7D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E862F

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

Preview Lab → · Contrast checker → · Palette generator →

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