#2E841C#2E841C

#2E841C is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.160 H 140.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2E841C
RGBrgb(46, 132, 28)
HSLhsl(110, 65%, 31%)
HSVhsv(110, 79%, 52%)
CMYKcmyk(65.2%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.47, -45.13, 45.19)
CIE-LCHlch(48.47, 63.87, 134.97°)
OKLaboklab(54.09% -0.1236 0.1012)
OKLCHoklch(54.09% 0.16 140.7)
XYZxyz(9.5871, 17.1663, 3.9066)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E841C #721C84
analogous
#62841C #2E841C #1C843E
triadic
#2E841C #1C2E84 #841C2E
tetradic
#2E841C #1C6284 #721C84 #843E1C
square
#2E841C #1C6284 #721C84 #843E1C
split-complementary
#2E841C #3E1C84 #841C62
monochromatic
#0B1F07 #1C5211 #2E841C #40B627 #5DD743

Accessibility & contrast

On white

4.74
#2E841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2E841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E841C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E841C#FFFFFF#000000##FFFFFF
##2E841C1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887703
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#208070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e841c;
/* rgb */ color: rgb(46, 132, 28);
/* oklch */ color: oklch(54.1% 0.160 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a961',
    500: '#2e841c',
    950: '#000000',
  },
}
SCSS
$custom: #2e841c;
$custom-light: #73a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2e841c",
  "rgb": {
    "r": 46,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 109.615,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.15975,
    "h": 140.7
  },
  "luminance": 0.17167
}

Semantic roles & 50–950 ramp

primary
#2E841C
secondary
#A345B7
accent
#40E8CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2E841C

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

Preview Lab → · Contrast checker → · Palette generator →

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