#2E7526#2E7526

#2E7526 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.134 H 141.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2E7526
RGBrgb(46, 117, 38)
HSLhsl(114, 51%, 30%)
HSVhsv(114, 68%, 46%)
CMYKcmyk(60.7%, 0%, 67.5%, 54.1%)
CIE-LABlab(43.42, -38.50, 35.88)
CIE-LCHlch(43.42, 52.63, 137.02°)
OKLaboklab(49.94% -0.1051 0.0831)
OKLCHoklch(49.94% 0.134 141.7)
XYZxyz(7.8375, 13.4427, 4.0150)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7526 #6D2675
analogous
#557526 #2E7526 #267545
triadic
#2E7526 #262E75 #75262E
tetradic
#2E7526 #265575 #6D2675 #754526
square
#2E7526 #265575 #6D2675 #754526
split-complementary
#2E7526 #452675 #752655
monochromatic
#0A1908 #1C4717 #2E7526 #40A335 #5BC64F

Accessibility & contrast

On white

5.69
#2E7526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2E7526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7526
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7526#FFFFFF#000000##FFFFFF
##2E75261.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1C
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#237165
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e7526;
/* rgb */ color: rgb(46, 117, 38);
/* oklch */ color: oklch(49.9% 0.134 141.7);
Tailwind
colors: {
  custom: {
    50: '#6f9d64',
    500: '#2e7526',
    950: '#000000',
  },
}
SCSS
$custom: #2e7526;
$custom-light: #6f9d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7526",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 113.924,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49944,
    "c": 0.13395,
    "h": 141.7
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#2E7526
secondary
#9F4FA7
accent
#4DDACC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7526

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

Preview Lab → · Contrast checker → · Palette generator →

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