#2B8525#2B8525

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

Color values

HEX#2B8525
RGBrgb(43, 133, 37)
HSLhsl(116, 56%, 33%)
HSVhsv(116, 72%, 52%)
CMYKcmyk(67.7%, 0%, 72.2%, 47.8%)
CIE-LABlab(48.79, -45.46, 42.04)
CIE-LCHlch(48.79, 61.92, 137.23°)
OKLaboklab(54.35% -0.1238 0.0959)
OKLCHoklch(54.35% 0.157 142.2)
XYZxyz(9.7172, 17.4212, 4.6004)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8525 #7F2585
analogous
#5B8525 #2B8525 #25854F
triadic
#2B8525 #252B85 #85252B
tetradic
#2B8525 #255B85 #7F2585 #854F25
square
#2B8525 #255B85 #7F2585 #854F25
split-complementary
#2B8525 #4F2585 #85255B
monochromatic
#0C250A #1C5518 #2B8525 #3AB532 #5CD055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8525#FFFFFF#000000##FFFFFF
##2B85251.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887816
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#188172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b8525;
/* rgb */ color: rgb(43, 133, 37);
/* oklch */ color: oklch(54.3% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#71a965',
    500: '#2b8525',
    950: '#000000',
  },
}
SCSS
$custom: #2b8525;
$custom-light: #71a965;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8525",
  "rgb": {
    "r": 43,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 116.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.1566,
    "h": 142.2
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#2B8525
secondary
#AE52B4
accent
#48E0D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8525

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

Preview Lab → · Contrast checker → · Palette generator →

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