#2B742E#2B742E

#2B742E is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.127 H 144.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2B742E
RGBrgb(43, 116, 46)
HSLhsl(122, 46%, 31%)
HSVhsv(122, 63%, 45%)
CMYKcmyk(62.9%, 0%, 60.3%, 54.5%)
CIE-LABlab(43.06, -37.92, 31.55)
CIE-LCHlch(43.06, 49.33, 140.23°)
OKLaboklab(49.65% -0.1029 0.0747)
OKLCHoklch(49.65% 0.127 144)
XYZxyz(7.7343, 13.2009, 4.7247)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B742E #742B71
analogous
#4C742B #2B742E #2B7452
triadic
#2B742E #2E2B74 #742E2B
tetradic
#2B742E #2B4C74 #742B71 #74522B
square
#2B742E #2B4C74 #742B71 #74522B
split-complementary
#2B742E #522B74 #742B4C
monochromatic
#0A1B0B #1A471C #2B742E #3CA140 #58C15D

Accessibility & contrast

On white

5.77
#2B742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2B742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B742E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B742E#FFFFFF#000000##FFFFFF
##2B742E1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A27
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#1D7165
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b742e;
/* rgb */ color: rgb(43, 116, 46);
/* oklch */ color: oklch(49.6% 0.127 144.0);
Tailwind
colors: {
  custom: {
    50: '#6d9d69',
    500: '#2b742e',
    950: '#000000',
  },
}
SCSS
$custom: #2b742e;
$custom-light: #6d9d69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b742e",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 122.466,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49648,
    "c": 0.12711,
    "h": 144
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#2B742E
secondary
#A655A2
accent
#52D0D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B742E

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

Preview Lab → · Contrast checker → · Palette generator →

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