#2B7623#2B7623

#2B7623 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.139 H 141.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2B7623
RGBrgb(43, 118, 35)
HSLhsl(114, 54%, 30%)
HSVhsv(114, 70%, 46%)
CMYKcmyk(63.6%, 0%, 70.3%, 53.7%)
CIE-LABlab(43.64, -40.00, 37.45)
CIE-LCHlch(43.64, 54.79, 136.88°)
OKLaboklab(50.09% -0.1091 0.0861)
OKLCHoklch(50.09% 0.139 141.7)
XYZxyz(7.7777, 13.5911, 3.8033)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7623 #6E2376
analogous
#547623 #2B7623 #237645
triadic
#2B7623 #232B76 #76232B
tetradic
#2B7623 #235476 #6E2376 #764523
square
#2B7623 #235476 #6E2376 #764523
split-complementary
#2B7623 #452376 #762354
monochromatic
#091807 #1A4715 #2B7623 #3CA531 #56C94A

Accessibility & contrast

On white

5.65
#2B7623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2B7623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7623
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7623#FFFFFF#000000##FFFFFF
##2B76231.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B18
Deuteranopia (green-blind)
#70652B
Tritanopia (blue-blind)
#1F7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7623;
/* rgb */ color: rgb(43, 118, 35);
/* oklch */ color: oklch(50.1% 0.139 141.7);
Tailwind
colors: {
  custom: {
    50: '#6e9e62',
    500: '#2b7623',
    950: '#000000',
  },
}
SCSS
$custom: #2b7623;
$custom-light: #6e9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7623",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 114.217,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.13895,
    "h": 141.7
  },
  "luminance": 0.13592
}

Semantic roles & 50–950 ramp

primary
#2B7623
secondary
#A04CA9
accent
#4ADECF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2B7623

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

Preview Lab → · Contrast checker → · Palette generator →

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