#2B7925#2B7925

#2B7925 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.141 H 142.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2B7925
RGBrgb(43, 121, 37)
HSLhsl(116, 53%, 31%)
HSVhsv(116, 69%, 47%)
CMYKcmyk(64.5%, 0%, 69.4%, 52.5%)
CIE-LABlab(44.69, -40.96, 37.69)
CIE-LCHlch(44.69, 55.66, 137.38°)
OKLaboklab(50.96% -0.1116 0.0868)
OKLCHoklch(50.96% 0.141 142.1)
XYZxyz(8.1671, 14.3211, 4.0838)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7925 #732579
analogous
#557925 #2B7925 #257949
triadic
#2B7925 #252B79 #79252B
tetradic
#2B7925 #255579 #732579 #794925
square
#2B7925 #255579 #732579 #794925
split-complementary
#2B7925 #492579 #792555
monochromatic
#0A1B08 #1A4A17 #2B7925 #3CA833 #58C94F

Accessibility & contrast

On white

5.43
#2B7925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2B7925 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7925
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7925#FFFFFF#000000##FFFFFF
##2B79251.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1A
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#1D7568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7925;
/* rgb */ color: rgb(43, 121, 37);
/* oklch */ color: oklch(51.0% 0.141 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fa064',
    500: '#2b7925',
    950: '#000000',
  },
}
SCSS
$custom: #2b7925;
$custom-light: #6fa064;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7925",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 37
  },
  "hsl": {
    "h": 115.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.14137,
    "h": 142.1
  },
  "luminance": 0.14322
}

Semantic roles & 50–950 ramp

primary
#2B7925
secondary
#A54EAB
accent
#4BDDD2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2B7925

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

Preview Lab → · Contrast checker → · Palette generator →

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