#2B751C#2B751C

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

Color values

HEX#2B751C
RGBrgb(43, 117, 28)
HSLhsl(110, 61%, 28%)
HSVhsv(110, 76%, 46%)
CMYKcmyk(63.2%, 0%, 76.1%, 54.1%)
CIE-LABlab(43.24, -40.25, 39.97)
CIE-LCHlch(43.24, 56.73, 135.20°)
OKLaboklab(49.74% -0.1102 0.0904)
OKLCHoklch(49.74% 0.143 140.7)
XYZxyz(7.5668, 13.3193, 3.2705)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B751C #661C75
analogous
#57751C #2B751C #1C7539
triadic
#2B751C #1C2B75 #751C2B
tetradic
#2B751C #1C5775 #661C75 #75391C
square
#2B751C #1C5775 #661C75 #75391C
split-complementary
#2B751C #391C75 #751C57
monochromatic
#091906 #194410 #2B751C #3DA628 #54D03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B751C#FFFFFF#000000##FFFFFF
##2B751C1.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)
#786A0C
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#207164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b751c;
/* rgb */ color: rgb(43, 117, 28);
/* oklch */ color: oklch(49.7% 0.143 140.7);
Tailwind
colors: {
  custom: {
    50: '#6e9d5e',
    500: '#2b751c',
    950: '#000000',
  },
}
SCSS
$custom: #2b751c;
$custom-light: #6e9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b751c",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 109.888,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.14253,
    "h": 140.7
  },
  "luminance": 0.1332
}

Semantic roles & 50–950 ramp

primary
#2B751C
secondary
#9844A9
accent
#43E4C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B751C

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

Preview Lab → · Contrast checker → · Palette generator →

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