#2E7825#2E7825

#2E7825 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.139 H 141.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2E7825
RGBrgb(46, 120, 37)
HSLhsl(113, 53%, 31%)
HSVhsv(113, 69%, 47%)
CMYKcmyk(61.7%, 0%, 69.2%, 52.9%)
CIE-LABlab(44.44, -39.80, 37.45)
CIE-LCHlch(44.44, 54.65, 136.74°)
OKLaboklab(50.78% -0.1086 0.0863)
OKLCHoklch(50.78% 0.139 141.5)
XYZxyz(8.1767, 14.1466, 4.0496)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7825 #6F2578
analogous
#577825 #2E7825 #257845
triadic
#2E7825 #252E78 #78252E
tetradic
#2E7825 #255778 #6F2578 #784525
square
#2E7825 #255778 #6F2578 #784525
split-complementary
#2E7825 #452578 #782557
monochromatic
#0A1A08 #1C4917 #2E7825 #40A733 #5CC94F

Accessibility & contrast

On white

5.48
#2E7825 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2E7825 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7825
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7825#FFFFFF#000000##FFFFFF
##2E78251.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1A
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#237467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e7825;
/* rgb */ color: rgb(46, 120, 37);
/* oklch */ color: oklch(50.8% 0.139 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a064',
    500: '#2e7825',
    950: '#000000',
  },
}
SCSS
$custom: #2e7825;
$custom-light: #70a064;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7825",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 37
  },
  "hsl": {
    "h": 113.494,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.13873,
    "h": 141.5
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#2E7825
secondary
#A04EAA
accent
#4CDCCD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2E7825

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

Preview Lab → · Contrast checker → · Palette generator →

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