#2B8D1F#2B8D1F

#2B8D1F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.170 H 141.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2B8D1F
RGBrgb(43, 141, 31)
HSLhsl(113, 64%, 34%)
HSVhsv(113, 78%, 55%)
CMYKcmyk(69.5%, 0%, 78%, 44.7%)
CIE-LABlab(51.45, -48.80, 47.03)
CIE-LCHlch(51.45, 67.78, 136.06°)
OKLaboklab(56.55% -0.1331 0.1055)
OKLCHoklch(56.55% 0.17 141.6)
XYZxyz(10.7679, 19.6611, 4.5236)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D1F #811F8D
analogous
#628D1F #2B8D1F #1F8D4A
triadic
#2B8D1F #1F2B8D #8D1F2B
tetradic
#2B8D1F #1F628D #811F8D #8D4A1F
square
#2B8D1F #1F628D #811F8D #8D4A1F
split-complementary
#2B8D1F #4A1F8D #8D1F62
monochromatic
#0C2909 #1C5B14 #2B8D1F #3ABF2A #5DD84E

Accessibility & contrast

On white

4.26
#2B8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2B8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D1F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D1F#FFFFFF#000000##000000
##2B8D1F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#158878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8d1f;
/* rgb */ color: rgb(43, 141, 31);
/* oklch */ color: oklch(56.5% 0.170 141.6);
Tailwind
colors: {
  custom: {
    50: '#73af63',
    500: '#2b8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d1f;
$custom-light: #73af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d1f",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 113.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56545,
    "c": 0.1699,
    "h": 141.6
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#2B8D1F
secondary
#AF4DBB
accent
#41E7D5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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