#2B8A1F#2B8A1F

#2B8A1F is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.166 H 141.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2B8A1F
RGBrgb(43, 138, 31)
HSLhsl(113, 63%, 33%)
HSVhsv(113, 78%, 54%)
CMYKcmyk(68.8%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.44, -47.75, 46.03)
CIE-LCHlch(50.44, 66.33, 136.05°)
OKLaboklab(55.71% -0.1303 0.1035)
OKLCHoklch(55.71% 0.166 141.5)
XYZxyz(10.3315, 18.7884, 4.3781)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A1F #7E1F8A
analogous
#608A1F #2B8A1F #1F8A48
triadic
#2B8A1F #1F2B8A #8A1F2B
tetradic
#2B8A1F #1F608A #7E1F8A #8A481F
square
#2B8A1F #1F608A #7E1F8A #8A481F
split-complementary
#2B8A1F #481F8A #8A1F60
monochromatic
#0C2609 #1B5814 #2B8A1F #3BBC2A #5CD74C

Accessibility & contrast

On white

4.41
#2B8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2B8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A1F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A1F#FFFFFF#000000##000000
##2B8A1F1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#178676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a1f;
/* rgb */ color: rgb(43, 138, 31);
/* oklch */ color: oklch(55.7% 0.166 141.5);
Tailwind
colors: {
  custom: {
    50: '#73ad63',
    500: '#2b8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a1f;
$custom-light: #73ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a1f",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 113.271,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.16638,
    "h": 141.5
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#2B8A1F
secondary
#AD4BBA
accent
#41E6D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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