#2B9F28#2B9F28

#2B9F28 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.186 H 142.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2B9F28
RGBrgb(43, 159, 40)
HSLhsl(118, 60%, 39%)
HSVhsv(118, 75%, 62%)
CMYKcmyk(73%, 0%, 74.8%, 37.6%)
CIE-LABlab(57.52, -54.26, 49.84)
CIE-LCHlch(57.52, 73.67, 137.43°)
OKLaboklab(61.6% -0.1474 0.1127)
OKLCHoklch(61.6% 0.186 142.6)
XYZxyz(13.7766, 25.4615, 6.1956)
Luminance0.2546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9F28 #9C289F
analogous
#679F28 #2B9F28 #289F61
triadic
#2B9F28 #282B9F #9F282B
tetradic
#2B9F28 #28679F #9C289F #9F6128
square
#2B9F28 #28679F #9C289F #9F6128
split-complementary
#2B9F28 #61289F #9F2867
monochromatic
#113D0F #1E6E1C #2B9F28 #3BCD37 #6BD968

Accessibility & contrast

On white

3.45
#2B9F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#2B9F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9F28
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9F28#FFFFFF#000000##000000
##2B9F281.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39011
Deuteranopia (green-blind)
#958735
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2b9f28;
/* rgb */ color: rgb(43, 159, 40);
/* oklch */ color: oklch(61.6% 0.186 142.6);
Tailwind
colors: {
  custom: {
    50: '#77bc6a',
    500: '#2b9f28',
    950: '#000000',
  },
}
SCSS
$custom: #2b9f28;
$custom-light: #77bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9f28",
  "rgb": {
    "r": 43,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 118.487,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61599,
    "c": 0.18556,
    "h": 142.6
  },
  "luminance": 0.25463
}

Semantic roles & 50–950 ramp

primary
#2B9F28
secondary
#BD64BF
accent
#45E3DF
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2B9F28

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

Preview Lab → · Contrast checker → · Palette generator →

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