#2B8A1C#2B8A1C

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

Color values

HEX#2B8A1C
RGBrgb(43, 138, 28)
HSLhsl(112, 66%, 33%)
HSVhsv(112, 80%, 54%)
CMYKcmyk(68.8%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.42, -47.97, 47.05)
CIE-LCHlch(50.42, 67.19, 135.55°)
OKLaboklab(55.68% -0.131 0.1052)
OKLCHoklch(55.68% 0.168 141.3)
XYZxyz(10.2938, 18.7733, 4.1795)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A1C #7B1C8A
analogous
#628A1C #2B8A1C #1C8A44
triadic
#2B8A1C #1C2B8A #8A1C2B
tetradic
#2B8A1C #1C628A #7B1C8A #8A441C
square
#2B8A1C #1C628A #7B1C8A #8A441C
split-complementary
#2B8A1C #441C8A #8A1C62
monochromatic
#0B2407 #1B5712 #2B8A1C #3BBD26 #5BDA47

Accessibility & contrast

On white

4.42
#2B8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2B8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A1C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A1C#FFFFFF#000000##000000
##2B8A1C1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#178575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a1c;
/* rgb */ color: rgb(43, 138, 28);
/* oklch */ color: oklch(55.7% 0.168 141.3);
Tailwind
colors: {
  custom: {
    50: '#73ad61',
    500: '#2b8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a1c;
$custom-light: #73ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a1c",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 111.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55684,
    "c": 0.16801,
    "h": 141.3
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#2B8A1C
secondary
#AB46BB
accent
#3FE9D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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