#2B813F#2B813F

#2B813F is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.129 H 148.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2B813F
RGBrgb(43, 129, 63)
HSLhsl(134, 50%, 34%)
HSVhsv(134, 67%, 51%)
CMYKcmyk(66.7%, 0%, 51.2%, 49.4%)
CIE-LABlab(47.72, -40.64, 28.29)
CIE-LCHlch(47.72, 49.51, 145.16°)
OKLaboklab(53.56% -0.1097 0.0686)
OKLCHoklch(53.56% 0.129 148)
XYZxyz(9.7430, 16.5720, 7.3869)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B813F #812B6D
analogous
#42812B #2B813F #2B816A
triadic
#2B813F #3F2B81 #813F2B
tetradic
#2B813F #2B4281 #812B6D #816A2B
square
#2B813F #2B4281 #812B6D #816A2B
split-complementary
#2B813F #6A2B81 #812B42
monochromatic
#0C2512 #1C5329 #2B813F #3AAF55 #5DC976

Accessibility & contrast

On white

4.87
#2B813F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2B813F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B813F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B813F#FFFFFF#000000##FFFFFF
##2B813F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763A
Deuteranopia (green-blind)
#786E44
Tritanopia (blue-blind)
#0F7E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b813f;
/* rgb */ color: rgb(43, 129, 63);
/* oklch */ color: oklch(53.6% 0.129 148.0);
Tailwind
colors: {
  custom: {
    50: '#6fa675',
    500: '#2b813f',
    950: '#000000',
  },
}
SCSS
$custom: #2b813f;
$custom-light: #6fa675;
$custom-dark: #000000;
JSON
{
  "hex": "#2b813f",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 63
  },
  "hsl": {
    "h": 133.953,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.12936,
    "h": 148
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#2B813F
secondary
#AF599B
accent
#4EB9DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2B813F

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

Preview Lab → · Contrast checker → · Palette generator →

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