#2E7A35#2E7A35

#2E7A35 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.128 H 145.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2E7A35
RGBrgb(46, 122, 53)
HSLhsl(126, 45%, 33%)
HSVhsv(126, 62%, 48%)
CMYKcmyk(62.3%, 0%, 56.6%, 52.2%)
CIE-LABlab(45.30, -38.64, 30.63)
CIE-LCHlch(45.30, 49.30, 141.60°)
OKLaboklab(51.54% -0.1047 0.0732)
OKLCHoklch(51.54% 0.128 145)
XYZxyz(8.7283, 14.7561, 5.7557)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A35 #7A2E73
analogous
#4D7A2E #2E7A35 #2E7A5B
triadic
#2E7A35 #352E7A #7A352E
tetradic
#2E7A35 #2E4D7A #7A2E73 #7A5B2E
square
#2E7A35 #2E4D7A #7A2E73 #7A5B2E
split-complementary
#2E7A35 #5B2E7A #7A2E4D
monochromatic
#0C210E #1D4E22 #2E7A35 #3FA648 #60C369

Accessibility & contrast

On white

5.31
#2E7A35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2E7A35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A35
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A35#FFFFFF#000000##FFFFFF
##2E7A351.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2F
Deuteranopia (green-blind)
#72693A
Tritanopia (blue-blind)
#1E776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e7a35;
/* rgb */ color: rgb(46, 122, 53);
/* oklch */ color: oklch(51.5% 0.128 145.0);
Tailwind
colors: {
  custom: {
    50: '#6fa16e',
    500: '#2e7a35',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a35;
$custom-light: #6fa16e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a35",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 53
  },
  "hsl": {
    "h": 125.526,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51544,
    "c": 0.12771,
    "h": 145
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#2E7A35
secondary
#AA5AA2
accent
#53C9D5
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2E7A35

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

Preview Lab → · Contrast checker → · Palette generator →

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