#2B8A30#2B8A30

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

Color values

HEX#2B8A30
RGBrgb(43, 138, 48)
HSLhsl(123, 52%, 35%)
HSVhsv(123, 69%, 54%)
CMYKcmyk(68.8%, 0%, 65.2%, 45.9%)
CIE-LABlab(50.57, -46.15, 39.16)
CIE-LCHlch(50.57, 60.53, 139.68°)
OKLaboklab(55.86% -0.1251 0.0912)
OKLCHoklch(55.86% 0.155 143.9)
XYZxyz(10.6176, 18.9028, 5.8848)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8A30 #8A2B85
analogous
#558A2B #2B8A30 #2B8A5F
triadic
#2B8A30 #302B8A #8A302B
tetradic
#2B8A30 #2B558A #8A2B85 #8A5F2B
square
#2B8A30 #2B558A #8A2B85 #8A5F2B
split-complementary
#2B8A30 #5F2B8A #8A2B55
monochromatic
#0E2D10 #1C5B20 #2B8A30 #3AB940 #61CE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8A30#FFFFFF#000000##000000
##2B8A301.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)
#8D7D25
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#118677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b8a30;
/* rgb */ color: rgb(43, 138, 48);
/* oklch */ color: oklch(55.9% 0.155 143.9);
Tailwind
colors: {
  custom: {
    50: '#72ad6c',
    500: '#2b8a30',
    950: '#000000',
  },
}
SCSS
$custom: #2b8a30;
$custom-light: #72ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8a30",
  "rgb": {
    "r": 43,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 123.158,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.15478,
    "h": 143.9
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#2B8A30
secondary
#B45DAF
accent
#4CD4DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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