#2B7830#2B7830

#2B7830 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.131 H 144.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2B7830
RGBrgb(43, 120, 48)
HSLhsl(124, 47%, 32%)
HSVhsv(124, 64%, 47%)
CMYKcmyk(64.2%, 0%, 60%, 52.9%)
CIE-LABlab(44.46, -39.26, 32.17)
CIE-LCHlch(44.46, 50.76, 140.66°)
OKLaboklab(50.81% -0.1064 0.0762)
OKLCHoklch(50.81% 0.131 144.4)
XYZxyz(8.2457, 14.1591, 5.0942)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7830 #782B73
analogous
#4D782B #2B7830 #2B7857
triadic
#2B7830 #302B78 #78302B
tetradic
#2B7830 #2B4D78 #782B73 #78572B
square
#2B7830 #2B4D78 #782B73 #78572B
split-complementary
#2B7830 #572B78 #782B4D
monochromatic
#0B1E0C #1B4B1E #2B7830 #3BA542 #5AC461

Accessibility & contrast

On white

5.48
#2B7830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2B7830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7830
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7830#FFFFFF#000000##FFFFFF
##2B78301.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D29
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#1A7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b7830;
/* rgb */ color: rgb(43, 120, 48);
/* oklch */ color: oklch(50.8% 0.131 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ea06b',
    500: '#2b7830',
    950: '#000000',
  },
}
SCSS
$custom: #2b7830;
$custom-light: #6ea06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7830",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 123.896,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.13087,
    "h": 144.4
  },
  "luminance": 0.1416
}

Semantic roles & 50–950 ramp

primary
#2B7830
secondary
#AA55A4
accent
#51CED7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2B7830

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

Preview Lab → · Contrast checker → · Palette generator →

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