#2E6529#2E6529

#2E6529 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.4% C 0.109 H 142.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2E6529
RGBrgb(46, 101, 41)
HSLhsl(115, 42%, 28%)
HSVhsv(115, 59%, 40%)
CMYKcmyk(54.5%, 0%, 59.4%, 60.4%)
CIE-LABlab(37.93, -31.39, 28.13)
CIE-LCHlch(37.93, 42.15, 138.13°)
OKLaboklab(45.43% -0.0856 0.0668)
OKLCHoklch(45.43% 0.109 142)
XYZxyz(6.1803, 10.0478, 3.7111)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6529 #602965
analogous
#4C6529 #2E6529 #296542
triadic
#2E6529 #292E65 #65292E
tetradic
#2E6529 #294C65 #602965 #654229
square
#2E6529 #294C65 #602965 #654229
split-complementary
#2E6529 #422965 #65294C
monochromatic
#0A1609 #1A3917 #2E6529 #42913B #59B850

Accessibility & contrast

On white

6.98
#2E6529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2E6529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6529
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6529#FFFFFF#000000##FFFFFF
##2E65291.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C23
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#276258
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e6529;
/* rgb */ color: rgb(46, 101, 41);
/* oklch */ color: oklch(45.4% 0.109 142.0);
Tailwind
colors: {
  custom: {
    50: '#6c9165',
    500: '#2e6529',
    950: '#000000',
  },
}
SCSS
$custom: #2e6529;
$custom-light: #6c9165;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6529",
  "rgb": {
    "r": 46,
    "g": 101,
    "b": 41
  },
  "hsl": {
    "h": 115,
    "s": 42.254,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45431,
    "c": 0.10856,
    "h": 142
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#2E6529
secondary
#925297
accent
#56D2C8
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2E6529

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

Preview Lab → · Contrast checker → · Palette generator →

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