#2B751B#2B751B

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

Color values

HEX#2B751B
RGBrgb(43, 117, 27)
HSLhsl(109, 63%, 28%)
HSVhsv(109, 77%, 46%)
CMYKcmyk(63.2%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.23, -40.33, 40.35)
CIE-LCHlch(43.23, 57.05, 134.99°)
OKLaboklab(49.73% -0.1105 0.091)
OKLCHoklch(49.73% 0.143 140.5)
XYZxyz(7.5550, 13.3146, 3.2085)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B751B #651B75
analogous
#58751B #2B751B #1B7538
triadic
#2B751B #1B2B75 #751B2B
tetradic
#2B751B #1B5875 #651B75 #75381B
square
#2B751B #1B5875 #651B75 #75381B
split-complementary
#2B751B #381B75 #751B58
monochromatic
#091906 #194310 #2B751B #3DA726 #54D139

Accessibility & contrast

On white

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

On black

3.66
#2B751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B751B#FFFFFF#000000##FFFFFF
##2B751B1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b751b;
/* rgb */ color: rgb(43, 117, 27);
/* oklch */ color: oklch(49.7% 0.143 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e9d5e',
    500: '#2b751b',
    950: '#000000',
  },
}
SCSS
$custom: #2b751b;
$custom-light: #6e9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b751b",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 109.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.14317,
    "h": 140.5
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#2B751B
secondary
#9742A9
accent
#42E6C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B751B

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

Preview Lab → · Contrast checker → · Palette generator →

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