#2B9021#2B9021

#2B9021 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.172 H 141.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2B9021
RGBrgb(43, 144, 33)
HSLhsl(115, 63%, 35%)
HSVhsv(115, 77%, 56%)
CMYKcmyk(70.1%, 0%, 77.1%, 43.5%)
CIE-LABlab(52.47, -49.70, 47.33)
CIE-LCHlch(52.47, 68.63, 136.40°)
OKLaboklab(57.4% -0.1355 0.1065)
OKLCHoklch(57.4% 0.172 141.8)
XYZxyz(11.2434, 20.5687, 4.8162)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9021 #862190
analogous
#629021 #2B9021 #21904F
triadic
#2B9021 #212B90 #90212B
tetradic
#2B9021 #216290 #862190 #904F21
square
#2B9021 #216290 #862190 #904F21
split-complementary
#2B9021 #4F2190 #902162
monochromatic
#0D2C0A #1C5E16 #2B9021 #3AC22C #60D854

Accessibility & contrast

On white

4.11
#2B9021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2B9021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9021
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9021#FFFFFF#000000##000000
##2B90211.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948208
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#128B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2b9021;
/* rgb */ color: rgb(43, 144, 33);
/* oklch */ color: oklch(57.4% 0.172 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b165',
    500: '#2b9021',
    950: '#000000',
  },
}
SCSS
$custom: #2b9021;
$custom-light: #74b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9021",
  "rgb": {
    "r": 43,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 114.595,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.17228,
    "h": 141.8
  },
  "luminance": 0.2057
}

Semantic roles & 50–950 ramp

primary
#2B9021
secondary
#B251BB
accent
#42E6D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B9021

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

Preview Lab → · Contrast checker → · Palette generator →

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