#2B7935#2B7935

#2B7935 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.128 H 145.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2B7935
RGBrgb(43, 121, 53)
HSLhsl(128, 48%, 32%)
HSVhsv(128, 64%, 47%)
CMYKcmyk(64.5%, 0%, 56.2%, 52.5%)
CIE-LABlab(44.86, -38.96, 30.08)
CIE-LCHlch(44.86, 49.22, 142.33°)
OKLaboklab(51.16% -0.1054 0.072)
OKLCHoklch(51.16% 0.128 145.7)
XYZxyz(8.4757, 14.4446, 5.7089)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7935 #792B6F
analogous
#48792B #2B7935 #2B795C
triadic
#2B7935 #352B79 #79352B
tetradic
#2B7935 #2B4879 #792B6F #795C2B
square
#2B7935 #2B4879 #792B6F #795C2B
split-complementary
#2B7935 #5C2B79 #792B48
monochromatic
#0B1F0D #1B4C21 #2B7935 #3BA649 #5AC468

Accessibility & contrast

On white

5.40
#2B7935 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2B7935 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7935
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7935#FFFFFF#000000##FFFFFF
##2B79351.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2F
Deuteranopia (green-blind)
#71683A
Tritanopia (blue-blind)
#18766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7935;
/* rgb */ color: rgb(43, 121, 53);
/* oklch */ color: oklch(51.2% 0.128 145.7);
Tailwind
colors: {
  custom: {
    50: '#6ea06e',
    500: '#2b7935',
    950: '#000000',
  },
}
SCSS
$custom: #2b7935;
$custom-light: #6ea06e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7935",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 53
  },
  "hsl": {
    "h": 127.692,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.12764,
    "h": 145.7
  },
  "luminance": 0.14445
}

Semantic roles & 50–950 ramp

primary
#2B7935
secondary
#AA569F
accent
#51C6D7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2B7935

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

Preview Lab → · Contrast checker → · Palette generator →

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