#2A661B#2A661B

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

Color values

HEX#2A661B
RGBrgb(42, 102, 27)
HSLhsl(108, 58%, 25%)
HSVhsv(108, 74%, 40%)
CMYKcmyk(58.8%, 0%, 73.5%, 60%)
CIE-LABlab(37.97, -34.63, 34.95)
CIE-LCHlch(37.97, 49.20, 134.73°)
OKLaboklab(45.38% -0.095 0.0798)
OKLCHoklch(45.38% 0.124 140)
XYZxyz(5.9038, 10.0736, 2.6700)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A661B #571B66
analogous
#4F661B #2A661B #1B6631
triadic
#2A661B #1B2A66 #661B2A
tetradic
#2A661B #1B4F66 #571B66 #66311B
square
#2A661B #1B4F66 #571B66 #66311B
split-complementary
#2A661B #311B66 #661B4F
monochromatic
#0A1806 #16360E #2A661B #3E9628 #52C735

Accessibility & contrast

On white

6.97
#2A661B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A661B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A661B#FFFFFF#000000##FFFFFF
##2A661B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C10
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#236357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a661b;
/* rgb */ color: rgb(42, 102, 27);
/* oklch */ color: oklch(45.4% 0.124 140.0);
Tailwind
colors: {
  custom: {
    50: '#6b925c',
    500: '#2a661b',
    950: '#000000',
  },
}
SCSS
$custom: #2a661b;
$custom-light: #6b925c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a661b",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 108,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.12405,
    "h": 140
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#2A661B
secondary
#89419B
accent
#46E1C2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A661B

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

Preview Lab → · Contrast checker → · Palette generator →

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