#2B9228#2B9228

#2B9228 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.170 H 142.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2B9228
RGBrgb(43, 146, 40)
HSLhsl(118, 57%, 36%)
HSVhsv(118, 73%, 57%)
CMYKcmyk(70.5%, 0%, 72.6%, 42.7%)
CIE-LABlab(53.19, -49.82, 45.41)
CIE-LCHlch(53.19, 67.42, 137.65°)
OKLaboklab(58.01% -0.1354 0.1034)
OKLCHoklch(58.01% 0.17 142.6)
XYZxyz(11.6575, 21.2233, 5.4892)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9228 #8F2892
analogous
#609228 #2B9228 #28925A
triadic
#2B9228 #282B92 #92282B
tetradic
#2B9228 #286092 #8F2892 #925A28
square
#2B9228 #286092 #8F2892 #925A28
split-complementary
#2B9228 #5A2892 #922860
monochromatic
#0F320E #1D621B #2B9228 #39C235 #64D461

Accessibility & contrast

On white

4.00
#2B9228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#2B9228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9228
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9228#FFFFFF#000000##000000
##2B92281.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#0E8E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2b9228;
/* rgb */ color: rgb(43, 146, 40);
/* oklch */ color: oklch(58.0% 0.170 142.6);
Tailwind
colors: {
  custom: {
    50: '#74b368',
    500: '#2b9228',
    950: '#000000',
  },
}
SCSS
$custom: #2b9228;
$custom-light: #74b368;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9228",
  "rgb": {
    "r": 43,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 118.302,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.1704,
    "h": 142.6
  },
  "luminance": 0.21225
}

Semantic roles & 50–950 ramp

primary
#2B9228
secondary
#B75DB9
accent
#48E0DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B9228

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

Preview Lab → · Contrast checker → · Palette generator →

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