#2B9928#2B9928

#2B9928 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.179 H 142.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2B9928
RGBrgb(43, 153, 40)
HSLhsl(118, 59%, 38%)
HSVhsv(118, 74%, 60%)
CMYKcmyk(71.9%, 0%, 73.9%, 40%)
CIE-LABlab(55.53, -52.24, 47.82)
CIE-LCHlch(55.53, 70.82, 137.53°)
OKLaboklab(59.95% -0.142 0.1084)
OKLCHoklch(59.95% 0.179 142.6)
XYZxyz(12.7697, 23.4479, 5.8600)
Luminance0.2345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9928 #962899
analogous
#639928 #2B9928 #28995D
triadic
#2B9928 #282B99 #99282B
tetradic
#2B9928 #286399 #962899 #995D28
square
#2B9928 #286399 #962899 #995D28
split-complementary
#2B9928 #5D2899 #992863
monochromatic
#10380F #1D681B #2B9928 #39CA35 #68D765

Accessibility & contrast

On white

3.69
#2B9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#2B9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9928
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9928#FFFFFF#000000##000000
##2B99281.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#079483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2b9928;
/* rgb */ color: rgb(43, 153, 40);
/* oklch */ color: oklch(59.9% 0.179 142.6);
Tailwind
colors: {
  custom: {
    50: '#76b869',
    500: '#2b9928',
    950: '#000000',
  },
}
SCSS
$custom: #2b9928;
$custom-light: #76b869;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9928",
  "rgb": {
    "r": 43,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 118.407,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59947,
    "c": 0.17864,
    "h": 142.6
  },
  "luminance": 0.23449
}

Semantic roles & 50–950 ramp

primary
#2B9928
secondary
#BA60BD
accent
#46E2DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2B9928

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

Preview Lab → · Contrast checker → · Palette generator →

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