#2B7933#2B7933

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

Color values

HEX#2B7933
RGBrgb(43, 121, 51)
HSLhsl(126, 48%, 32%)
HSVhsv(126, 64%, 47%)
CMYKcmyk(64.5%, 0%, 57.9%, 52.5%)
CIE-LABlab(44.84, -39.25, 31.09)
CIE-LCHlch(44.84, 50.07, 141.62°)
OKLaboklab(51.13% -0.1062 0.0741)
OKLCHoklch(51.13% 0.13 145.1)
XYZxyz(8.4306, 14.4265, 5.4716)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7933 #792B71
analogous
#4A792B #2B7933 #2B795A
triadic
#2B7933 #332B79 #79332B
tetradic
#2B7933 #2B4A79 #792B71 #795A2B
square
#2B7933 #2B4A79 #792B71 #795A2B
split-complementary
#2B7933 #5A2B79 #792B4A
monochromatic
#0B1F0D #1B4C20 #2B7933 #3BA646 #5AC465

Accessibility & contrast

On white

5.40
#2B7933 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2B7933 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7933
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7933#FFFFFF#000000##FFFFFF
##2B79331.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2C
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#197669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7933;
/* rgb */ color: rgb(43, 121, 51);
/* oklch */ color: oklch(51.1% 0.130 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ea06d',
    500: '#2b7933',
    950: '#000000',
  },
}
SCSS
$custom: #2b7933;
$custom-light: #6ea06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7933",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 51
  },
  "hsl": {
    "h": 126.154,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.12951,
    "h": 145.1
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#2B7933
secondary
#AA56A2
accent
#51C9D7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2B7933

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

Preview Lab → · Contrast checker → · Palette generator →

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