#2B942F#2B942F

#2B942F is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.6% C 0.168 H 143.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2B942F
RGBrgb(43, 148, 47)
HSLhsl(122, 55%, 37%)
HSVhsv(122, 71%, 58%)
CMYKcmyk(70.9%, 0%, 68.2%, 42%)
CIE-LABlab(53.92, -49.85, 43.28)
CIE-LCHlch(53.92, 66.02, 139.03°)
OKLaboklab(58.63% -0.1351 0.0998)
OKLCHoklch(58.63% 0.168 143.6)
XYZxyz(12.0985, 21.8973, 6.2778)
Luminance0.2190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B942F #942B90
analogous
#5B942B #2B942F #2B9464
triadic
#2B942F #2F2B94 #942F2B
tetradic
#2B942F #2B5B94 #942B90 #94642B
square
#2B942F #2B5B94 #942B90 #94642B
split-complementary
#2B942F #642B94 #942B5B
monochromatic
#0F3511 #1D6520 #2B942F #39C33E #67D36B

Accessibility & contrast

On white

3.90
#2B942F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#2B942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B942F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B942F#FFFFFF#000000##000000
##2B942F1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#08907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2b942f;
/* rgb */ color: rgb(43, 148, 47);
/* oklch */ color: oklch(58.6% 0.168 143.6);
Tailwind
colors: {
  custom: {
    50: '#74b46d',
    500: '#2b942f',
    950: '#000000',
  },
}
SCSS
$custom: #2b942f;
$custom-light: #74b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b942f",
  "rgb": {
    "r": 43,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 122.286,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58627,
    "c": 0.168,
    "h": 143.6
  },
  "luminance": 0.21899
}

Semantic roles & 50–950 ramp

primary
#2B942F
secondary
#B962B6
accent
#49D9DE
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2B942F

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

Preview Lab → · Contrast checker → · Palette generator →

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