#2E8229#2E8229

#2E8229 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.149 H 142.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2E8229
RGBrgb(46, 130, 41)
HSLhsl(117, 52%, 34%)
HSVhsv(117, 68%, 51%)
CMYKcmyk(64.6%, 0%, 68.5%, 49%)
CIE-LABlab(47.89, -43.26, 39.40)
CIE-LCHlch(47.89, 58.51, 137.68°)
OKLaboklab(53.64% -0.1178 0.0909)
OKLCHoklch(53.64% 0.149 142.3)
XYZxyz(9.5091, 16.7053, 4.8207)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8229 #7D2982
analogous
#5A8229 #2E8229 #298250
triadic
#2E8229 #292E82 #82292E
tetradic
#2E8229 #295A82 #7D2982 #825029
square
#2E8229 #295A82 #7D2982 #825029
split-complementary
#2E8229 #502982 #82295A
monochromatic
#0D250C #1E531A #2E8229 #3EB138 #61CB5A

Accessibility & contrast

On white

4.84
#2E8229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2E8229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8229
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8229#FFFFFF#000000##FFFFFF
##2E82291.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#1E7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e8229;
/* rgb */ color: rgb(46, 130, 41);
/* oklch */ color: oklch(53.6% 0.149 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a767',
    500: '#2e8229',
    950: '#000000',
  },
}
SCSS
$custom: #2e8229;
$custom-light: #72a767;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8229",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 116.629,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53639,
    "c": 0.14875,
    "h": 142.3
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

primary
#2E8229
secondary
#AB56B0
accent
#4CDBD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2E8229

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

Preview Lab → · Contrast checker → · Palette generator →

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