#2B8522#2B8522

#2B8522 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.159 H 141.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2B8522
RGBrgb(43, 133, 34)
HSLhsl(115, 59%, 33%)
HSVhsv(115, 74%, 52%)
CMYKcmyk(67.7%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.76, -45.72, 43.23)
CIE-LCHlch(48.76, 62.92, 136.61°)
OKLaboklab(54.32% -0.1246 0.098)
OKLCHoklch(54.32% 0.159 141.8)
XYZxyz(9.6720, 17.4032, 4.3625)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8522 #7C2285
analogous
#5D8522 #2B8522 #22854A
triadic
#2B8522 #222B85 #85222B
tetradic
#2B8522 #225D85 #7C2285 #854A22
square
#2B8522 #225D85 #7C2285 #854A22
split-complementary
#2B8522 #4A2285 #85225D
monochromatic
#0B2409 #1B5416 #2B8522 #3BB62E #5BD24F

Accessibility & contrast

On white

4.69
#2B8522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2B8522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8522
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8522#FFFFFF#000000##FFFFFF
##2B85221.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#198172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8522;
/* rgb */ color: rgb(43, 133, 34);
/* oklch */ color: oklch(54.3% 0.159 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a964',
    500: '#2b8522',
    950: '#000000',
  },
}
SCSS
$custom: #2b8522;
$custom-light: #71a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8522",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 114.545,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.15857,
    "h": 141.8
  },
  "luminance": 0.17404
}

Semantic roles & 50–950 ramp

primary
#2B8522
secondary
#AC4DB6
accent
#45E2D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8522

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

Preview Lab → · Contrast checker → · Palette generator →

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