#2E7521#2E7521

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

Color values

HEX#2E7521
RGBrgb(46, 117, 33)
HSLhsl(111, 56%, 29%)
HSVhsv(111, 72%, 46%)
CMYKcmyk(60.7%, 0%, 71.8%, 54.1%)
CIE-LABlab(43.38, -39.01, 38.08)
CIE-LCHlch(43.38, 54.51, 135.70°)
OKLaboklab(49.89% -0.1067 0.0871)
OKLCHoklch(49.89% 0.138 140.8)
XYZxyz(7.7622, 13.4125, 3.6184)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7521 #682175
analogous
#587521 #2E7521 #21753E
triadic
#2E7521 #212E75 #75212E
tetradic
#2E7521 #215875 #682175 #753E21
square
#2E7521 #215875 #682175 #753E21
split-complementary
#2E7521 #3E2175 #752158
monochromatic
#091807 #1B4514 #2E7521 #41A52E #5ACB46

Accessibility & contrast

On white

5.70
#2E7521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2E7521 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7521
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7521#FFFFFF#000000##FFFFFF
##2E75211.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A15
Deuteranopia (green-blind)
#6F6429
Tritanopia (blue-blind)
#247164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e7521;
/* rgb */ color: rgb(46, 117, 33);
/* oklch */ color: oklch(49.9% 0.138 140.8);
Tailwind
colors: {
  custom: {
    50: '#709d61',
    500: '#2e7521',
    950: '#000000',
  },
}
SCSS
$custom: #2e7521;
$custom-light: #709d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7521",
  "rgb": {
    "r": 46,
    "g": 117,
    "b": 33
  },
  "hsl": {
    "h": 110.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49893,
    "c": 0.13776,
    "h": 140.8
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

primary
#2E7521
secondary
#9A4AA8
accent
#49DFC8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E7521

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

Preview Lab → · Contrast checker → · Palette generator →

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