#2B8229#2B8229

#2B8229 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.150 H 142.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2B8229
RGBrgb(43, 130, 41)
HSLhsl(119, 52%, 34%)
HSVhsv(119, 68%, 51%)
CMYKcmyk(66.9%, 0%, 68.5%, 49%)
CIE-LABlab(47.80, -43.95, 39.28)
CIE-LCHlch(47.80, 58.95, 138.22°)
OKLaboklab(53.54% -0.1195 0.0906)
OKLCHoklch(53.54% 0.15 142.8)
XYZxyz(9.3786, 16.6380, 4.8146)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8229 #802982
analogous
#578229 #2B8229 #298253
triadic
#2B8229 #292B82 #82292B
tetradic
#2B8229 #295782 #802982 #825329
square
#2B8229 #295782 #802982 #825329
split-complementary
#2B8229 #532982 #822957
monochromatic
#0C250C #1C531A #2B8229 #3AB138 #5DCB5A

Accessibility & contrast

On white

4.85
#2B8229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2B8229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8229
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8229#FFFFFF#000000##FFFFFF
##2B82291.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7A6F31
Tritanopia (blue-blind)
#187E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8229;
/* rgb */ color: rgb(43, 130, 41);
/* oklch */ color: oklch(53.5% 0.150 142.8);
Tailwind
colors: {
  custom: {
    50: '#70a767',
    500: '#2b8229',
    950: '#000000',
  },
}
SCSS
$custom: #2b8229;
$custom-light: #70a767;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8229",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 118.652,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.14997,
    "h": 142.8
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#2B8229
secondary
#AE56B0
accent
#4CDBD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B8229

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

Preview Lab → · Contrast checker → · Palette generator →

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