#2B661B#2B661B

#2B661B is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.124 H 139.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2B661B
RGBrgb(43, 102, 27)
HSLhsl(107, 58%, 25%)
HSVhsv(107, 74%, 40%)
CMYKcmyk(57.8%, 0%, 73.5%, 60%)
CIE-LABlab(38.01, -34.33, 35.01)
CIE-LCHlch(38.01, 49.03, 134.44°)
OKLaboklab(45.42% -0.0943 0.0799)
OKLCHoklch(45.42% 0.124 139.7)
XYZxyz(5.9452, 10.0950, 2.6719)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B661B #561B66
analogous
#50661B #2B661B #1B6630
triadic
#2B661B #1B2B66 #661B2B
tetradic
#2B661B #1B5066 #561B66 #66301B
square
#2B661B #1B5066 #561B66 #66301B
split-complementary
#2B661B #301B66 #661B50
monochromatic
#0A1806 #17360E #2B661B #3F9628 #54C735

Accessibility & contrast

On white

6.96
#2B661B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2B661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B661B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B661B#FFFFFF#000000##FFFFFF
##2B661B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D10
Deuteranopia (green-blind)
#615822
Tritanopia (blue-blind)
#256257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b661b;
/* rgb */ color: rgb(43, 102, 27);
/* oklch */ color: oklch(45.4% 0.124 139.7);
Tailwind
colors: {
  custom: {
    50: '#6b925c',
    500: '#2b661b',
    950: '#000000',
  },
}
SCSS
$custom: #2b661b;
$custom-light: #6b925c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b661b",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 107.2,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.12356,
    "h": 139.7
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#2B661B
secondary
#88419B
accent
#46E1C0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B661B

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

Preview Lab → · Contrast checker → · Palette generator →

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