#2B8B1F#2B8B1F

#2B8B1F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.168 H 141.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2B8B1F
RGBrgb(43, 139, 31)
HSLhsl(113, 64%, 33%)
HSVhsv(113, 78%, 55%)
CMYKcmyk(69.1%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.78, -48.10, 46.36)
CIE-LCHlch(50.78, 66.81, 136.06°)
OKLaboklab(55.99% -0.1312 0.1042)
OKLCHoklch(55.99% 0.168 141.6)
XYZxyz(10.4756, 19.0767, 4.4262)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B1F #7F1F8B
analogous
#618B1F #2B8B1F #1F8B49
triadic
#2B8B1F #1F2B8B #8B1F2B
tetradic
#2B8B1F #1F618B #7F1F8B #8B491F
square
#2B8B1F #1F618B #7F1F8B #8B491F
split-complementary
#2B8B1F #491F8B #8B1F61
monochromatic
#0C2709 #1C5914 #2B8B1F #3ABD2A #5CD74D

Accessibility & contrast

On white

4.36
#2B8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2B8B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8B1F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8B1F#FFFFFF#000000##000000
##2B8B1F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#168776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8b1f;
/* rgb */ color: rgb(43, 139, 31);
/* oklch */ color: oklch(56.0% 0.168 141.6);
Tailwind
colors: {
  custom: {
    50: '#73ae63',
    500: '#2b8b1f',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b1f;
$custom-light: #73ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b1f",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 113.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.16755,
    "h": 141.6
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#2B8B1F
secondary
#AE4CBA
accent
#41E7D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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