#2B661A#2B661A

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

Color values

HEX#2B661A
RGBrgb(43, 102, 26)
HSLhsl(107, 59%, 25%)
HSVhsv(107, 75%, 40%)
CMYKcmyk(57.8%, 0%, 74.5%, 60%)
CIE-LABlab(38.00, -34.43, 35.43)
CIE-LCHlch(38.00, 49.40, 134.18°)
OKLaboklab(45.41% -0.0946 0.0806)
OKLCHoklch(45.41% 0.124 139.6)
XYZxyz(5.9338, 10.0904, 2.6120)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B661A #551A66
analogous
#51661A #2B661A #1A662F
triadic
#2B661A #1A2B66 #661A2B
tetradic
#2B661A #1A5166 #551A66 #662F1A
square
#2B661A #1A5166 #551A66 #662F1A
split-complementary
#2B661A #2F1A66 #661A51
monochromatic
#0A1806 #16350E #2B661A #409726 #54C833

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B661A#FFFFFF#000000##FFFFFF
##2B661A1.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)
#695D0E
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#256257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b661a;
/* rgb */ color: rgb(43, 102, 26);
/* oklch */ color: oklch(45.4% 0.124 139.6);
Tailwind
colors: {
  custom: {
    50: '#6b925b',
    500: '#2b661a',
    950: '#000000',
  },
}
SCSS
$custom: #2b661a;
$custom-light: #6b925b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b661a",
  "rgb": {
    "r": 43,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 106.579,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45411,
    "c": 0.12427,
    "h": 139.6
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#2B661A
secondary
#87409C
accent
#45E3BF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2B661A

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

Preview Lab → · Contrast checker → · Palette generator →

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