#2B8A2F#2B8A2F

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

Color values

HEX#2B8A2F
RGBrgb(43, 138, 47)
HSLhsl(123, 52%, 35%)
HSVhsv(123, 69%, 54%)
CMYKcmyk(68.8%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.56, -46.26, 39.61)
CIE-LCHlch(50.56, 60.90, 139.43°)
OKLaboklab(55.85% -0.1254 0.092)
OKLCHoklch(55.85% 0.156 143.7)
XYZxyz(10.5972, 18.8947, 5.7773)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A2F #8A2B86
analogous
#578A2B #2B8A2F #2B8A5E
triadic
#2B8A2F #2F2B8A #8A2F2B
tetradic
#2B8A2F #2B578A #8A2B86 #8A5E2B
square
#2B8A2F #2B578A #8A2B86 #8A5E2B
split-complementary
#2B8A2F #5E2B8A #8A2B57
monochromatic
#0E2D0F #1C5B1F #2B8A2F #3AB93F #61CE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8A2F#FFFFFF#000000##000000
##2B8A2F1.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)
#8D7D24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#118677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a2f;
/* rgb */ color: rgb(43, 138, 47);
/* oklch */ color: oklch(55.8% 0.156 143.7);
Tailwind
colors: {
  custom: {
    50: '#72ad6c',
    500: '#2b8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a2f;
$custom-light: #72ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a2f",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 122.526,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.15556,
    "h": 143.7
  },
  "luminance": 0.18896
}

Semantic roles & 50–950 ramp

primary
#2B8A2F
secondary
#B45DB0
accent
#4CD6DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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