#2E8255#2E8255

#2E8255 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.4% C 0.108 H 156.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2E8255
RGBrgb(46, 130, 85)
HSLhsl(148, 48%, 35%)
HSVhsv(148, 65%, 51%)
CMYKcmyk(64.6%, 0%, 34.6%, 49%)
CIE-LABlab(48.51, -36.28, 17.11)
CIE-LCHlch(48.51, 40.12, 154.75°)
OKLaboklab(54.36% -0.0986 0.0431)
OKLCHoklch(54.36% 0.108 156.4)
XYZxyz(10.7481, 17.2009, 11.3462)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8255 #822E5B
analogous
#31822E #2E8255 #2E827F
triadic
#2E8255 #552E82 #82552E
tetradic
#2E8255 #2E3182 #822E5B #827F2E
square
#2E8255 #2E3182 #822E5B #827F2E
split-complementary
#2E8255 #7F2E82 #822E31
monochromatic
#0E281A #1E5537 #2E8255 #3EAF73 #63C892

Accessibility & contrast

On white

4.73
#2E8255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2E8255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E8255
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8255#FFFFFF#000000##FFFFFF
##2E82551.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817852
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#038176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e8255;
/* rgb */ color: rgb(46, 130, 85);
/* oklch */ color: oklch(54.4% 0.108 156.4);
Tailwind
colors: {
  custom: {
    50: '#70a785',
    500: '#2e8255',
    950: '#000000',
  },
}
SCSS
$custom: #2e8255;
$custom-light: #70a785;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8255",
  "rgb": {
    "r": 46,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 147.857,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.1076,
    "h": 156.4
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#2E8255
secondary
#AE5D89
accent
#5099D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2E8255

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

Preview Lab → · Contrast checker → · Palette generator →

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