#2B671F#2B671F

#2B671F is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.122 H 140.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2B671F
RGBrgb(43, 103, 31)
HSLhsl(110, 54%, 26%)
HSVhsv(110, 70%, 40%)
CMYKcmyk(58.3%, 0%, 69.9%, 59.6%)
CIE-LABlab(38.40, -34.36, 33.61)
CIE-LCHlch(38.40, 48.07, 135.62°)
OKLaboklab(45.75% -0.0941 0.0775)
OKLCHoklch(45.75% 0.122 140.5)
XYZxyz(6.0936, 10.3125, 2.9655)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B671F #5B1F67
analogous
#4F671F #2B671F #1F6737
triadic
#2B671F #1F2B67 #671F2B
tetradic
#2B671F #1F4F67 #5B1F67 #67371F
square
#2B671F #1F4F67 #5B1F67 #67371F
split-complementary
#2B671F #371F67 #671F4F
monochromatic
#0A1807 #173811 #2B671F #3F962D #53C43C

Accessibility & contrast

On white

6.86
#2B671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2B671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B671F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B671F#FFFFFF#000000##FFFFFF
##2B671F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#246458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b671f;
/* rgb */ color: rgb(43, 103, 31);
/* oklch */ color: oklch(45.7% 0.122 140.5);
Tailwind
colors: {
  custom: {
    50: '#6b935e',
    500: '#2b671f',
    950: '#000000',
  },
}
SCSS
$custom: #2b671f;
$custom-light: #6b935e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b671f",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 110,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.12187,
    "h": 140.5
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#2B671F
secondary
#8D469B
accent
#4BDDC5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2B671F

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

Preview Lab → · Contrast checker → · Palette generator →

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