#2B8F1A#2B8F1A

#2B8F1A is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.175 H 141.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2B8F1A
RGBrgb(43, 143, 26)
HSLhsl(111, 69%, 33%)
HSVhsv(111, 82%, 56%)
CMYKcmyk(69.9%, 0%, 81.8%, 43.9%)
CIE-LABlab(52.10, -49.83, 49.29)
CIE-LCHlch(52.10, 70.09, 135.31°)
OKLaboklab(57.07% -0.1362 0.1095)
OKLCHoklch(57.07% 0.175 141.2)
XYZxyz(11.0046, 20.2319, 4.3023)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8F1A #7E1A8F
analogous
#658F1A #2B8F1A #1A8F43
triadic
#2B8F1A #1A2B8F #8F1A2B
tetradic
#2B8F1A #1A658F #7E1A8F #8F431A
square
#2B8F1A #1A658F #7E1A8F #8F431A
split-complementary
#2B8F1A #431A8F #8F1A65
monochromatic
#0C2707 #1B5B11 #2B8F1A #3BC323 #5CDD46

Accessibility & contrast

On white

4.16
#2B8F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2B8F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8F1A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8F1A#FFFFFF#000000##000000
##2B8F1A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#158A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2b8f1a;
/* rgb */ color: rgb(43, 143, 26);
/* oklch */ color: oklch(57.1% 0.175 141.2);
Tailwind
colors: {
  custom: {
    50: '#74b161',
    500: '#2b8f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2b8f1a;
$custom-light: #74b161;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8f1a",
  "rgb": {
    "r": 43,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 111.282,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.17475,
    "h": 141.2
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#2B8F1A
secondary
#AD46BF
accent
#3CECD2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2B8F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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