#2B671A#2B671A

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

Color values

HEX#2B671A
RGBrgb(43, 103, 26)
HSLhsl(107, 60%, 25%)
HSVhsv(107, 75%, 40%)
CMYKcmyk(58.3%, 0%, 74.8%, 59.6%)
CIE-LABlab(38.35, -34.84, 35.79)
CIE-LCHlch(38.35, 49.95, 134.23°)
OKLaboklab(45.7% -0.0957 0.0814)
OKLCHoklch(45.7% 0.126 139.6)
XYZxyz(6.0327, 10.2882, 2.6450)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B671A #561A67
analogous
#51671A #2B671A #1A672F
triadic
#2B671A #1A2B67 #671A2B
tetradic
#2B671A #1A5167 #561A67 #672F1A
square
#2B671A #1A5167 #561A67 #672F1A
split-complementary
#2B671A #2F1A67 #671A51
monochromatic
#0A1806 #17360E #2B671A #3F9826 #54C933

Accessibility & contrast

On white

6.87
#2B671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B671A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B671A#FFFFFF#000000##FFFFFF
##2B671A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0E
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#256358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b671a;
/* rgb */ color: rgb(43, 103, 26);
/* oklch */ color: oklch(45.7% 0.126 139.6);
Tailwind
colors: {
  custom: {
    50: '#6c935c',
    500: '#2b671a',
    950: '#000000',
  },
}
SCSS
$custom: #2b671a;
$custom-light: #6c935c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b671a",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 106.753,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.457,
    "c": 0.12563,
    "h": 139.6
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#2B671A
secondary
#88409D
accent
#45E3C0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B671A

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

Preview Lab → · Contrast checker → · Palette generator →

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