#2B901B#2B901B

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

Color values

HEX#2B901B
RGBrgb(43, 144, 27)
HSLhsl(112, 68%, 34%)
HSVhsv(112, 81%, 56%)
CMYKcmyk(70.1%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.44, -50.11, 49.30)
CIE-LCHlch(52.44, 70.30, 135.47°)
OKLaboklab(57.36% -0.1369 0.1097)
OKLCHoklch(57.36% 0.175 141.3)
XYZxyz(11.1668, 20.5381, 4.4124)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B901B #801B90
analogous
#65901B #2B901B #1B9045
triadic
#2B901B #1B2B90 #901B2B
tetradic
#2B901B #1B6590 #801B90 #90451B
square
#2B901B #1B6590 #801B90 #90451B
split-complementary
#2B901B #451B90 #901B65
monochromatic
#0C2908 #1C5C11 #2B901B #3AC425 #5DDD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B901B#FFFFFF#000000##000000
##2B901B1.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)
#948200
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#148B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2b901b;
/* rgb */ color: rgb(43, 144, 27);
/* oklch */ color: oklch(57.4% 0.175 141.3);
Tailwind
colors: {
  custom: {
    50: '#74b162',
    500: '#2b901b',
    950: '#000000',
  },
}
SCSS
$custom: #2b901b;
$custom-light: #74b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2b901b",
  "rgb": {
    "r": 43,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 111.795,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57357,
    "c": 0.17542,
    "h": 141.3
  },
  "luminance": 0.20539
}

Semantic roles & 50–950 ramp

primary
#2B901B
secondary
#AE48BF
accent
#3DEBD3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B901B

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

Preview Lab → · Contrast checker → · Palette generator →

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