#2B7520#2B7520

#2B7520 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.140 H 141.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2B7520
RGBrgb(43, 117, 32)
HSLhsl(112, 57%, 29%)
HSVhsv(112, 73%, 46%)
CMYKcmyk(63.2%, 0%, 72.6%, 54.1%)
CIE-LABlab(43.27, -39.90, 38.36)
CIE-LCHlch(43.27, 55.35, 136.13°)
OKLaboklab(49.77% -0.109 0.0876)
OKLCHoklch(49.77% 0.14 141.2)
XYZxyz(7.6179, 13.3397, 3.5396)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7520 #6A2075
analogous
#567520 #2B7520 #207540
triadic
#2B7520 #202B75 #75202B
tetradic
#2B7520 #205675 #6A2075 #754020
square
#2B7520 #205675 #6A2075 #754020
split-complementary
#2B7520 #402075 #752056
monochromatic
#091807 #194513 #2B7520 #3DA52D #55CC44

Accessibility & contrast

On white

5.73
#2B7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2B7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7520
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7520#FFFFFF#000000##FFFFFF
##2B75201.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#207164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b7520;
/* rgb */ color: rgb(43, 117, 32);
/* oklch */ color: oklch(49.8% 0.140 141.2);
Tailwind
colors: {
  custom: {
    50: '#6e9d61',
    500: '#2b7520',
    950: '#000000',
  },
}
SCSS
$custom: #2b7520;
$custom-light: #6e9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7520",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 112.235,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49774,
    "c": 0.13984,
    "h": 141.2
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#2B7520
secondary
#9C48A8
accent
#47E0CD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B7520

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

Preview Lab → · Contrast checker → · Palette generator →

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