#2B8D26#2B8D26

#2B8D26 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.166 H 142.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2B8D26
RGBrgb(43, 141, 38)
HSLhsl(117, 58%, 35%)
HSVhsv(117, 73%, 55%)
CMYKcmyk(69.5%, 0%, 73%, 44.7%)
CIE-LABlab(51.50, -48.24, 44.46)
CIE-LCHlch(51.50, 65.60, 137.34°)
OKLaboklab(56.6% -0.1312 0.1011)
OKLCHoklch(56.6% 0.166 142.4)
XYZxyz(10.8704, 19.7021, 5.0634)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D26 #88268D
analogous
#5F8D26 #2B8D26 #268D54
triadic
#2B8D26 #262B8D #8D262B
tetradic
#2B8D26 #265F8D #88268D #8D5426
square
#2B8D26 #265F8D #88268D #8D5426
split-complementary
#2B8D26 #54268D #8D265F
monochromatic
#0E2D0C #1C5D19 #2B8D26 #3ABD33 #61D35B

Accessibility & contrast

On white

4.25
#2B8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2B8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D26
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D26#FFFFFF#000000##000000
##2B8D261.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908015
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#138979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8d26;
/* rgb */ color: rgb(43, 141, 38);
/* oklch */ color: oklch(56.6% 0.166 142.4);
Tailwind
colors: {
  custom: {
    50: '#73af67',
    500: '#2b8d26',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d26;
$custom-light: #73af67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d26",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 117.087,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.1657,
    "h": 142.4
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#2B8D26
secondary
#B357B8
accent
#47E1D9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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