#2E8231#2E8231

#2E8231 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.142 H 143.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2E8231
RGBrgb(46, 130, 49)
HSLhsl(122, 48%, 35%)
HSVhsv(122, 65%, 51%)
CMYKcmyk(64.6%, 0%, 62.3%, 49%)
CIE-LABlab(47.97, -42.35, 35.77)
CIE-LCHlch(47.97, 55.43, 139.82°)
OKLaboklab(53.73% -0.1149 0.084)
OKLCHoklch(53.73% 0.142 143.8)
XYZxyz(9.6632, 16.7669, 5.6322)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8231 #822E7F
analogous
#55822E #2E8231 #2E825B
triadic
#2E8231 #312E82 #82312E
tetradic
#2E8231 #2E5582 #822E7F #825B2E
square
#2E8231 #2E5582 #822E7F #825B2E
split-complementary
#2E8231 #5B2E82 #822E55
monochromatic
#0E280F #1E5520 #2E8231 #3EAF42 #63C866

Accessibility & contrast

On white

4.82
#2E8231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2E8231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8231
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8231#FFFFFF#000000##FFFFFF
##2E82311.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857628
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#1C7E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e8231;
/* rgb */ color: rgb(46, 130, 49);
/* oklch */ color: oklch(53.7% 0.142 143.8);
Tailwind
colors: {
  custom: {
    50: '#71a76c',
    500: '#2e8231',
    950: '#000000',
  },
}
SCSS
$custom: #2e8231;
$custom-light: #71a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8231",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 122.143,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.14232,
    "h": 143.8
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#2E8231
secondary
#AE5DAB
accent
#50D3D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2E8231

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

Preview Lab → · Contrast checker → · Palette generator →

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