#2B6E1F#2B6E1F

#2B6E1F is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.131 H 140.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2B6E1F
RGBrgb(43, 110, 31)
HSLhsl(111, 56%, 28%)
HSVhsv(111, 72%, 43%)
CMYKcmyk(60.9%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.84, -37.23, 36.23)
CIE-LCHlch(40.84, 51.95, 135.78°)
OKLaboklab(47.76% -0.1019 0.083)
OKLCHoklch(47.76% 0.131 140.8)
XYZxyz(6.8192, 11.7638, 3.2073)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6E1F #621F6E
analogous
#526E1F #2B6E1F #1F6E3A
triadic
#2B6E1F #1F2B6E #6E1F2B
tetradic
#2B6E1F #1F526E #621F6E #6E3A1F
square
#2B6E1F #1F526E #621F6E #6E3A1F
split-complementary
#2B6E1F #3A1F6E #6E1F52
monochromatic
#091807 #183E12 #2B6E1F #3E9E2C #54C93F

Accessibility & contrast

On white

6.26
#2B6E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2B6E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6E1F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6E1F#FFFFFF#000000##FFFFFF
##2B6E1F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#695E26
Tritanopia (blue-blind)
#226A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b6e1f;
/* rgb */ color: rgb(43, 110, 31);
/* oklch */ color: oklch(47.8% 0.131 140.8);
Tailwind
colors: {
  custom: {
    50: '#6d985f',
    500: '#2b6e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2b6e1f;
$custom-light: #6d985f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6e1f",
  "rgb": {
    "r": 43,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 110.886,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47762,
    "c": 0.13137,
    "h": 140.8
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#2B6E1F
secondary
#9447A2
accent
#48DFC8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #2B6E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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