#2E8F2A#2E8F2A

#2E8F2A is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.164 H 142.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2E8F2A
RGBrgb(46, 143, 42)
HSLhsl(118, 55%, 36%)
HSVhsv(118, 71%, 56%)
CMYKcmyk(67.8%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.28, -47.96, 43.67)
CIE-LCHlch(52.28, 64.86, 137.68°)
OKLaboklab(57.28% -0.1304 0.1)
OKLCHoklch(57.28% 0.164 142.5)
XYZxyz(11.3664, 20.3918, 5.5270)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8F2A #8B2A8F
analogous
#618F2A #2E8F2A #2A8F59
triadic
#2E8F2A #2A2E8F #8F2A2E
tetradic
#2E8F2A #2A618F #8B2A8F #8F592A
square
#2E8F2A #2A618F #8B2A8F #8F592A
split-complementary
#2E8F2A #592A8F #8F2A61
monochromatic
#10300E #1F601C #2E8F2A #3DBE38 #67D162

Accessibility & contrast

On white

4.13
#2E8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2E8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8F2A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8F2A#FFFFFF#000000##000000
##2E8F2A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821B
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#188B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e8f2a;
/* rgb */ color: rgb(46, 143, 42);
/* oklch */ color: oklch(57.3% 0.164 142.5);
Tailwind
colors: {
  custom: {
    50: '#74b169',
    500: '#2e8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2e8f2a;
$custom-light: #74b169;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8f2a",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 117.624,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57275,
    "c": 0.16436,
    "h": 142.5
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#2E8F2A
secondary
#B35EB7
accent
#4ADED8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2E8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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