#2B7930#2B7930

#2B7930 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.132 H 144.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2B7930
RGBrgb(43, 121, 48)
HSLhsl(124, 48%, 32%)
HSVhsv(124, 64%, 47%)
CMYKcmyk(64.5%, 0%, 60.3%, 52.5%)
CIE-LABlab(44.80, -39.66, 32.58)
CIE-LCHlch(44.80, 51.32, 140.60°)
OKLaboklab(51.09% -0.1075 0.077)
OKLCHoklch(51.09% 0.132 144.4)
XYZxyz(8.3666, 14.4009, 5.1345)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7930 #792B74
analogous
#4D792B #2B7930 #2B7957
triadic
#2B7930 #302B79 #79302B
tetradic
#2B7930 #2B4D79 #792B74 #79572B
square
#2B7930 #2B4D79 #792B74 #79572B
split-complementary
#2B7930 #572B79 #792B4D
monochromatic
#0B1F0C #1B4C1E #2B7930 #3BA642 #5AC461

Accessibility & contrast

On white

5.41
#2B7930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2B7930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7930
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7930#FFFFFF#000000##FFFFFF
##2B79301.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E29
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#1A7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7930;
/* rgb */ color: rgb(43, 121, 48);
/* oklch */ color: oklch(51.1% 0.132 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ea06b',
    500: '#2b7930',
    950: '#000000',
  },
}
SCSS
$custom: #2b7930;
$custom-light: #6ea06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7930",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 48
  },
  "hsl": {
    "h": 123.846,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.13225,
    "h": 144.4
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#2B7930
secondary
#AA56A5
accent
#51CFD7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2B7930

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

Preview Lab → · Contrast checker → · Palette generator →

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