#2E7225#2E7225

#2E7225 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.1% C 0.131 H 141.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2E7225
RGBrgb(46, 114, 37)
HSLhsl(113, 51%, 30%)
HSVhsv(113, 68%, 45%)
CMYKcmyk(59.6%, 0%, 67.5%, 55.3%)
CIE-LABlab(42.38, -37.40, 35.20)
CIE-LCHlch(42.38, 51.36, 136.73°)
OKLaboklab(49.08% -0.1021 0.0815)
OKLCHoklch(49.08% 0.131 141.4)
XYZxyz(7.4776, 12.7484, 3.8165)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7225 #692572
analogous
#557225 #2E7225 #257243
triadic
#2E7225 #252E72 #72252E
tetradic
#2E7225 #255572 #692572 #724325
square
#2E7225 #255572 #692572 #724325
split-complementary
#2E7225 #432572 #722555
monochromatic
#091707 #1B4416 #2E7225 #41A034 #5AC54C

Accessibility & contrast

On white

5.92
#2E7225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2E7225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7225
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7225#FFFFFF#000000##FFFFFF
##2E72251.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681B
Deuteranopia (green-blind)
#6C622C
Tritanopia (blue-blind)
#256E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7225;
/* rgb */ color: rgb(46, 114, 37);
/* oklch */ color: oklch(49.1% 0.131 141.4);
Tailwind
colors: {
  custom: {
    50: '#6f9b63',
    500: '#2e7225',
    950: '#000000',
  },
}
SCSS
$custom: #2e7225;
$custom-light: #6f9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7225",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 112.987,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.13068,
    "h": 141.4
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#2E7225
secondary
#9B4EA5
accent
#4DDACA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2E7225

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

Preview Lab → · Contrast checker → · Palette generator →

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