#2B8A31#2B8A31

#2B8A31 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.154 H 144.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2B8A31
RGBrgb(43, 138, 49)
HSLhsl(124, 52%, 35%)
HSVhsv(124, 69%, 54%)
CMYKcmyk(68.8%, 0%, 64.5%, 45.9%)
CIE-LABlab(50.58, -46.03, 38.71)
CIE-LCHlch(50.58, 60.15, 139.94°)
OKLaboklab(55.87% -0.1247 0.0903)
OKLCHoklch(55.87% 0.154 144.1)
XYZxyz(10.6385, 18.9112, 5.9947)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A31 #8A2B84
analogous
#558A2B #2B8A31 #2B8A60
triadic
#2B8A31 #312B8A #8A312B
tetradic
#2B8A31 #2B558A #8A2B84 #8A602B
square
#2B8A31 #2B558A #8A2B84 #8A602B
split-complementary
#2B8A31 #602B8A #8A2B55
monochromatic
#0E2D10 #1C5B20 #2B8A31 #3AB942 #61CE68

Accessibility & contrast

On white

4.39
#2B8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2B8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8A31
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8A31#FFFFFF#000000##000000
##2B8A311.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D27
Deuteranopia (green-blind)
#817539
Tritanopia (blue-blind)
#108677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a31;
/* rgb */ color: rgb(43, 138, 49);
/* oklch */ color: oklch(55.9% 0.154 144.1);
Tailwind
colors: {
  custom: {
    50: '#72ad6d',
    500: '#2b8a31',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a31;
$custom-light: #72ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a31",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 123.789,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.15399,
    "h": 144.1
  },
  "luminance": 0.18912
}

Semantic roles & 50–950 ramp

primary
#2B8A31
secondary
#B45DAE
accent
#4CD3DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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