#2B9722#2B9722

#2B9722 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.180 H 142.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2B9722
RGBrgb(43, 151, 34)
HSLhsl(115, 63%, 36%)
HSVhsv(115, 77%, 59%)
CMYKcmyk(71.5%, 0%, 77.5%, 40.8%)
CIE-LABlab(54.83, -52.03, 49.29)
CIE-LCHlch(54.83, 71.67, 136.55°)
OKLaboklab(59.35% -0.1417 0.1107)
OKLCHoklch(59.35% 0.18 142)
XYZxyz(12.3509, 22.7610, 5.2555)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9722 #8E2297
analogous
#669722 #2B9722 #229754
triadic
#2B9722 #222B97 #97222B
tetradic
#2B9722 #226697 #8E2297 #975422
square
#2B9722 #226697 #8E2297 #975422
split-complementary
#2B9722 #542297 #972266
monochromatic
#0F330C #1D6517 #2B9722 #39C92D #63DA5A

Accessibility & contrast

On white

3.78
#2B9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2B9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9722
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9722#FFFFFF#000000##000000
##2B97221.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8806
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#0C9281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2b9722;
/* rgb */ color: rgb(43, 151, 34);
/* oklch */ color: oklch(59.3% 0.180 142.0);
Tailwind
colors: {
  custom: {
    50: '#75b766',
    500: '#2b9722',
    950: '#000000',
  },
}
SCSS
$custom: #2b9722;
$custom-light: #75b766;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9722",
  "rgb": {
    "r": 43,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 115.385,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.17981,
    "h": 142
  },
  "luminance": 0.22762
}

Semantic roles & 50–950 ramp

primary
#2B9722
secondary
#B657BE
accent
#42E6DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B9722

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

Preview Lab → · Contrast checker → · Palette generator →

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