#2B921F#2B921F

#2B921F is a mid, vivid green. Relative luminance 0.212; OKLCH L 57.9% C 0.176 H 141.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2B921F
RGBrgb(43, 146, 31)
HSLhsl(114, 65%, 35%)
HSVhsv(114, 79%, 57%)
CMYKcmyk(70.5%, 0%, 78.8%, 42.7%)
CIE-LABlab(53.13, -50.54, 48.67)
CIE-LCHlch(53.13, 70.16, 136.08°)
OKLaboklab(57.94% -0.1378 0.109)
OKLCHoklch(57.94% 0.176 141.7)
XYZxyz(11.5218, 21.1691, 4.7749)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B921F #861F92
analogous
#65921F #2B921F #1F924C
triadic
#2B921F #1F2B92 #921F2B
tetradic
#2B921F #1F6592 #861F92 #924C1F
square
#2B921F #1F6592 #861F92 #924C1F
split-complementary
#2B921F #4C1F92 #921F65
monochromatic
#0D2D0A #1C6014 #2B921F #3AC42A #60DA51

Accessibility & contrast

On white

4.01
#2B921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2B921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B921F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B921F#FFFFFF#000000##000000
##2B921F1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#118D7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2b921f;
/* rgb */ color: rgb(43, 146, 31);
/* oklch */ color: oklch(57.9% 0.176 141.7);
Tailwind
colors: {
  custom: {
    50: '#74b364',
    500: '#2b921f',
    950: '#000000',
  },
}
SCSS
$custom: #2b921f;
$custom-light: #74b364;
$custom-dark: #000000;
JSON
{
  "hex": "#2b921f",
  "rgb": {
    "r": 43,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 113.739,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5794,
    "c": 0.17569,
    "h": 141.7
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#2B921F
secondary
#B250BD
accent
#40E8D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B921F

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

Preview Lab → · Contrast checker → · Palette generator →

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