#2B8528#2B8528

#2B8528 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.155 H 142.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B8528
RGBrgb(43, 133, 40)
HSLhsl(118, 54%, 34%)
HSVhsv(118, 70%, 52%)
CMYKcmyk(67.7%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.81, -45.17, 40.80)
CIE-LCHlch(48.81, 60.87, 137.91°)
OKLaboklab(54.38% -0.1228 0.0937)
OKLCHoklch(54.38% 0.155 142.6)
XYZxyz(9.7662, 17.4409, 4.8588)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8528 #822885
analogous
#5A8528 #2B8528 #288554
triadic
#2B8528 #282B85 #85282B
tetradic
#2B8528 #285A85 #822885 #855428
square
#2B8528 #285A85 #822885 #855428
split-complementary
#2B8528 #542885 #85285A
monochromatic
#0D270C #1C561A #2B8528 #3AB436 #5ECD5A

Accessibility & contrast

On white

4.68
#2B8528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2B8528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8528
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8528#FFFFFF#000000##FFFFFF
##2B85281.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#178172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8528;
/* rgb */ color: rgb(43, 133, 40);
/* oklch */ color: oklch(54.4% 0.155 142.6);
Tailwind
colors: {
  custom: {
    50: '#71a967',
    500: '#2b8528',
    950: '#000000',
  },
}
SCSS
$custom: #2b8528;
$custom-light: #71a967;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8528",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 118.065,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.15451,
    "h": 142.6
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#2B8528
secondary
#B056B3
accent
#4BDDD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8528

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

Preview Lab → · Contrast checker → · Palette generator →

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