#2B9827#2B9827

#2B9827 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.178 H 142.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2B9827
RGBrgb(43, 152, 39)
HSLhsl(118, 59%, 37%)
HSVhsv(118, 74%, 60%)
CMYKcmyk(71.7%, 0%, 74.3%, 40.4%)
CIE-LABlab(55.19, -51.98, 47.85)
CIE-LCHlch(55.19, 70.65, 137.37°)
OKLaboklab(59.66% -0.1413 0.1084)
OKLCHoklch(59.66% 0.178 142.5)
XYZxyz(12.5900, 23.1152, 5.7172)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9827 #942798
analogous
#649827 #2B9827 #27985B
triadic
#2B9827 #272B98 #98272B
tetradic
#2B9827 #276498 #942798 #985B27
square
#2B9827 #276498 #942798 #985B27
split-complementary
#2B9827 #5B2798 #982764
monochromatic
#0F370E #1D671B #2B9827 #39C933 #67D763

Accessibility & contrast

On white

3.73
#2B9827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2B9827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9827
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9827#FFFFFF#000000##000000
##2B98271.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8912
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#099382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2b9827;
/* rgb */ color: rgb(43, 152, 39);
/* oklch */ color: oklch(59.7% 0.178 142.5);
Tailwind
colors: {
  custom: {
    50: '#75b769',
    500: '#2b9827',
    950: '#000000',
  },
}
SCSS
$custom: #2b9827;
$custom-light: #75b769;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9827",
  "rgb": {
    "r": 43,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 117.876,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.17809,
    "h": 142.5
  },
  "luminance": 0.23117
}

Semantic roles & 50–950 ramp

primary
#2B9827
secondary
#B95EBC
accent
#45E2DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2B9827

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

Preview Lab → · Contrast checker → · Palette generator →

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