#2B8B23#2B8B23

#2B8B23 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.165 H 142.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2B8B23
RGBrgb(43, 139, 35)
HSLhsl(115, 60%, 34%)
HSVhsv(115, 75%, 55%)
CMYKcmyk(69.1%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.80, -47.79, 44.91)
CIE-LCHlch(50.80, 65.58, 136.78°)
OKLaboklab(56.02% -0.1302 0.1017)
OKLCHoklch(56.02% 0.165 142)
XYZxyz(10.5317, 19.0991, 4.7213)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B23 #83238B
analogous
#5F8B23 #2B8B23 #238B4F
triadic
#2B8B23 #232B8B #8B232B
tetradic
#2B8B23 #235F8B #83238B #8B4F23
square
#2B8B23 #235F8B #83238B #8B4F23
split-complementary
#2B8B23 #4F238B #8B235F
monochromatic
#0D290A #1C5A17 #2B8B23 #3ABC2F #5ED454

Accessibility & contrast

On white

4.36
#2B8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2B8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8B23
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8B23#FFFFFF#000000##000000
##2B8B231.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#158777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8b23;
/* rgb */ color: rgb(43, 139, 35);
/* oklch */ color: oklch(56.0% 0.165 142.0);
Tailwind
colors: {
  custom: {
    50: '#73ae65',
    500: '#2b8b23',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b23;
$custom-light: #73ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b23",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 115.385,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.1652,
    "h": 142
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#2B8B23
secondary
#B052B8
accent
#45E3D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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