#2B7225#2B7225

#2B7225 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.132 H 142.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2B7225
RGBrgb(43, 114, 37)
HSLhsl(115, 51%, 30%)
HSVhsv(115, 68%, 45%)
CMYKcmyk(62.3%, 0%, 67.5%, 55.3%)
CIE-LABlab(42.28, -38.21, 35.06)
CIE-LCHlch(42.28, 51.86, 137.46°)
OKLaboklab(48.97% -0.1041 0.0813)
OKLCHoklch(48.97% 0.132 142)
XYZxyz(7.3471, 12.6811, 3.8104)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7225 #6C2572
analogous
#517225 #2B7225 #257246
triadic
#2B7225 #252B72 #72252B
tetradic
#2B7225 #255172 #6C2572 #724625
square
#2B7225 #255172 #6C2572 #724625
split-complementary
#2B7225 #462572 #722551
monochromatic
#091707 #1A4416 #2B7225 #3CA034 #56C54C

Accessibility & contrast

On white

5.94
#2B7225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2B7225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7225
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7225#FFFFFF#000000##FFFFFF
##2B72251.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75671B
Deuteranopia (green-blind)
#6C612C
Tritanopia (blue-blind)
#206F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7225;
/* rgb */ color: rgb(43, 114, 37);
/* oklch */ color: oklch(49.0% 0.132 142.0);
Tailwind
colors: {
  custom: {
    50: '#6d9b63',
    500: '#2b7225',
    950: '#000000',
  },
}
SCSS
$custom: #2b7225;
$custom-light: #6d9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7225",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 115.325,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.13209,
    "h": 142
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#2B7225
secondary
#9E4EA5
accent
#4DDACF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2B7225

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

Preview Lab → · Contrast checker → · Palette generator →

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