#2B901F#2B901F

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

Color values

HEX#2B901F
RGBrgb(43, 144, 31)
HSLhsl(114, 65%, 34%)
HSVhsv(114, 78%, 56%)
CMYKcmyk(70.1%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.46, -49.85, 48.01)
CIE-LCHlch(52.46, 69.21, 136.07°)
OKLaboklab(57.38% -0.136 0.1076)
OKLCHoklch(57.38% 0.173 141.6)
XYZxyz(11.2162, 20.5578, 4.6730)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B901F #841F90
analogous
#64901F #2B901F #1F904C
triadic
#2B901F #1F2B90 #901F2B
tetradic
#2B901F #1F6490 #841F90 #904C1F
square
#2B901F #1F6490 #841F90 #904C1F
split-complementary
#2B901F #4C1F90 #901F64
monochromatic
#0D2B09 #1C5E14 #2B901F #3AC22A #5FD950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B901F#FFFFFF#000000##000000
##2B901F1.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)
#948203
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#138B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2b901f;
/* rgb */ color: rgb(43, 144, 31);
/* oklch */ color: oklch(57.4% 0.173 141.6);
Tailwind
colors: {
  custom: {
    50: '#74b164',
    500: '#2b901f',
    950: '#000000',
  },
}
SCSS
$custom: #2b901f;
$custom-light: #74b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2b901f",
  "rgb": {
    "r": 43,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 113.628,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57383,
    "c": 0.17339,
    "h": 141.6
  },
  "luminance": 0.20559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B901F

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

Preview Lab → · Contrast checker → · Palette generator →

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