#2B801F#2B801F

#2B801F is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.154 H 141.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B801F
RGBrgb(43, 128, 31)
HSLhsl(113, 61%, 31%)
HSVhsv(113, 76%, 50%)
CMYKcmyk(66.4%, 0%, 75.8%, 49.8%)
CIE-LABlab(47.04, -44.15, 42.64)
CIE-LCHlch(47.04, 61.38, 135.99°)
OKLaboklab(52.89% -0.1206 0.0964)
OKLCHoklch(52.89% 0.154 141.4)
XYZxyz(8.9623, 16.0500, 3.9217)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B801F #741F80
analogous
#5B801F #2B801F #1F8043
triadic
#2B801F #1F2B80 #801F2B
tetradic
#2B801F #1F5B80 #741F80 #80431F
square
#2B801F #1F5B80 #741F80 #80431F
split-complementary
#2B801F #431F80 #801F5B
monochromatic
#0A1D07 #1A4F13 #2B801F #3CB12B #58D247

Accessibility & contrast

On white

4.99
#2B801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2B801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B801F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B801F#FFFFFF#000000##FFFFFF
##2B801F1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740D
Deuteranopia (green-blind)
#796D29
Tritanopia (blue-blind)
#1C7C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b801f;
/* rgb */ color: rgb(43, 128, 31);
/* oklch */ color: oklch(52.9% 0.154 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a661',
    500: '#2b801f',
    950: '#000000',
  },
}
SCSS
$custom: #2b801f;
$custom-light: #70a661;
$custom-dark: #000000;
JSON
{
  "hex": "#2b801f",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 112.577,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.15435,
    "h": 141.4
  },
  "luminance": 0.16051
}

Semantic roles & 50–950 ramp

primary
#2B801F
secondary
#A648B3
accent
#44E4D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2B801F

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

Preview Lab → · Contrast checker → · Palette generator →

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