#2B7233#2B7233

#2B7233 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.120 H 145.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2B7233
RGBrgb(43, 114, 51)
HSLhsl(127, 45%, 31%)
HSVhsv(127, 62%, 45%)
CMYKcmyk(62.3%, 0%, 55.3%, 55.3%)
CIE-LABlab(42.44, -36.39, 28.20)
CIE-LCHlch(42.44, 46.04, 142.22°)
OKLaboklab(49.15% -0.0985 0.0677)
OKLCHoklch(49.15% 0.12 145.5)
XYZxyz(7.6106, 12.7865, 5.1983)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7233 #722B6A
analogous
#46722B #2B7233 #2B7256
triadic
#2B7233 #332B72 #72332B
tetradic
#2B7233 #2B4672 #722B6A #72562B
square
#2B7233 #2B4672 #722B6A #72562B
split-complementary
#2B7233 #562B72 #722B46
monochromatic
#09190B #1A461F #2B7233 #3C9E47 #58C063

Accessibility & contrast

On white

5.90
#2B7233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2B7233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7233
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7233#FFFFFF#000000##FFFFFF
##2B72331.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682D
Deuteranopia (green-blind)
#6B6238
Tritanopia (blue-blind)
#1C6F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7233;
/* rgb */ color: rgb(43, 114, 51);
/* oklch */ color: oklch(49.2% 0.120 145.5);
Tailwind
colors: {
  custom: {
    50: '#6c9b6c',
    500: '#2b7233',
    950: '#000000',
  },
}
SCSS
$custom: #2b7233;
$custom-light: #6c9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7233",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 126.761,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49153,
    "c": 0.11955,
    "h": 145.5
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#2B7233
secondary
#A4559B
accent
#53C6D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7233

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

Preview Lab → · Contrast checker → · Palette generator →

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