#2B7D30#2B7D30

#2B7D30 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.138 H 144.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2B7D30
RGBrgb(43, 125, 48)
HSLhsl(124, 49%, 33%)
HSVhsv(124, 66%, 49%)
CMYKcmyk(65.6%, 0%, 61.6%, 51%)
CIE-LABlab(46.17, -41.23, 34.16)
CIE-LCHlch(46.17, 53.55, 140.36°)
OKLaboklab(52.22% -0.1117 0.0805)
OKLCHoklch(52.22% 0.138 144.2)
XYZxyz(8.8628, 15.3933, 5.2999)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D30 #7D2B78
analogous
#4F7D2B #2B7D30 #2B7D59
triadic
#2B7D30 #302B7D #7D302B
tetradic
#2B7D30 #2B4F7D #7D2B78 #7D592B
square
#2B7D30 #2B4F7D #7D2B78 #7D592B
split-complementary
#2B7D30 #592B7D #7D2B4F
monochromatic
#0C220D #1B4F1F #2B7D30 #3BAB41 #5CC762

Accessibility & contrast

On white

5.15
#2B7D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2B7D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D30
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D30#FFFFFF#000000##FFFFFF
##2B7D301.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7228
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#187A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d30;
/* rgb */ color: rgb(43, 125, 48);
/* oklch */ color: oklch(52.2% 0.138 144.2);
Tailwind
colors: {
  custom: {
    50: '#6fa36b',
    500: '#2b7d30',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d30;
$custom-light: #6fa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d30",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 123.659,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.13771,
    "h": 144.2
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#2B7D30
secondary
#AD57A7
accent
#4FD0D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7D30

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

Preview Lab → · Contrast checker → · Palette generator →

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