#2B7323#2B7323

#2B7323 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.135 H 141.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2B7323
RGBrgb(43, 115, 35)
HSLhsl(114, 53%, 29%)
HSVhsv(114, 70%, 45%)
CMYKcmyk(62.6%, 0%, 69.6%, 54.9%)
CIE-LABlab(42.61, -38.82, 36.34)
CIE-LCHlch(42.61, 53.17, 136.89°)
OKLaboklab(49.23% -0.1059 0.0837)
OKLCHoklch(49.23% 0.135 141.7)
XYZxyz(7.4300, 12.8957, 3.6874)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7323 #6B2373
analogous
#537323 #2B7323 #237343
triadic
#2B7323 #232B73 #73232B
tetradic
#2B7323 #235373 #6B2373 #734323
square
#2B7323 #235373 #6B2373 #734323
split-complementary
#2B7323 #432373 #732353
monochromatic
#091707 #194415 #2B7323 #3DA231 #56C849

Accessibility & contrast

On white

5.87
#2B7323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2B7323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7323
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7323#FFFFFF#000000##FFFFFF
##2B73231.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766818
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#206F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7323;
/* rgb */ color: rgb(43, 115, 35);
/* oklch */ color: oklch(49.2% 0.135 141.7);
Tailwind
colors: {
  custom: {
    50: '#6e9c62',
    500: '#2b7323',
    950: '#000000',
  },
}
SCSS
$custom: #2b7323;
$custom-light: #6e9c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7323",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 114,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.13501,
    "h": 141.7
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#2B7323
secondary
#9D4CA6
accent
#4BDDCE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2B7323

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

Preview Lab → · Contrast checker → · Palette generator →

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