#2E8B2C#2E8B2C

#2E8B2C is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.158 H 142.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2E8B2C
RGBrgb(46, 139, 44)
HSLhsl(119, 52%, 36%)
HSVhsv(119, 68%, 55%)
CMYKcmyk(66.9%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.95, -46.31, 41.40)
CIE-LCHlch(50.95, 62.11, 138.21°)
OKLaboklab(56.18% -0.1259 0.0954)
OKLCHoklch(56.18% 0.158 142.8)
XYZxyz(10.8133, 19.2268, 5.5237)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8B2C #892C8B
analogous
#5D8B2C #2E8B2C #2C8B59
triadic
#2E8B2C #2C2E8B #8B2C2E
tetradic
#2E8B2C #2C5D8B #892C8B #8B592C
square
#2E8B2C #2C5D8B #892C8B #8B592C
split-complementary
#2E8B2C #592C8B #8B2C5D
monochromatic
#0F2E0F #1F5D1D #2E8B2C #3DB93B #66CE64

Accessibility & contrast

On white

4.33
#2E8B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2E8B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8B2C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8B2C#FFFFFF#000000##000000
##2E8B2C1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#198778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e8b2c;
/* rgb */ color: rgb(46, 139, 44);
/* oklch */ color: oklch(56.2% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#74ae6a',
    500: '#2e8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #2e8b2c;
$custom-light: #74ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8b2c",
  "rgb": {
    "r": 46,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 118.737,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56183,
    "c": 0.15796,
    "h": 142.8
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

primary
#2E8B2C
secondary
#B25FB4
accent
#4CDBD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2E8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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