#2B9526#2B9526

#2B9526 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.175 H 142.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2B9526
RGBrgb(43, 149, 38)
HSLhsl(117, 59%, 37%)
HSVhsv(117, 74%, 58%)
CMYKcmyk(71.1%, 0%, 74.5%, 41.6%)
CIE-LABlab(54.18, -51.03, 47.20)
CIE-LCHlch(54.18, 69.52, 137.23°)
OKLaboklab(58.82% -0.1388 0.1069)
OKLCHoklch(58.82% 0.175 142.4)
XYZxyz(12.0929, 22.1471, 5.4709)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9526 #902695
analogous
#639526 #2B9526 #269559
triadic
#2B9526 #262B95 #95262B
tetradic
#2B9526 #266395 #902695 #955926
square
#2B9526 #266395 #902695 #955926
split-complementary
#2B9526 #592695 #952663
monochromatic
#0F330D #1D641A #2B9526 #39C632 #65D65F

Accessibility & contrast

On white

3.87
#2B9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2B9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9526
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9526#FFFFFF#000000##000000
##2B95261.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988712
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#0C907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2b9526;
/* rgb */ color: rgb(43, 149, 38);
/* oklch */ color: oklch(58.8% 0.175 142.4);
Tailwind
colors: {
  custom: {
    50: '#75b568',
    500: '#2b9526',
    950: '#000000',
  },
}
SCSS
$custom: #2b9526;
$custom-light: #75b568;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9526",
  "rgb": {
    "r": 43,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 117.297,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58824,
    "c": 0.17519,
    "h": 142.4
  },
  "luminance": 0.22148
}

Semantic roles & 50–950 ramp

primary
#2B9526
secondary
#B75BBB
accent
#45E3DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B9526

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

Preview Lab → · Contrast checker → · Palette generator →

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