#2A661F#2A661F

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

Color values

HEX#2A661F
RGBrgb(42, 102, 31)
HSLhsl(111, 53%, 26%)
HSVhsv(111, 70%, 40%)
CMYKcmyk(58.8%, 0%, 69.6%, 60%)
CIE-LABlab(38.01, -34.23, 33.18)
CIE-LCHlch(38.01, 47.67, 135.89°)
OKLaboklab(45.42% -0.0937 0.0766)
OKLCHoklch(45.42% 0.121 140.7)
XYZxyz(5.9533, 10.0934, 2.9306)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A661F #5B1F66
analogous
#4D661F #2A661F #1F6637
triadic
#2A661F #1F2A66 #661F2A
tetradic
#2A661F #1F4D66 #5B1F66 #66371F
square
#2A661F #1F4D66 #5B1F66 #66371F
split-complementary
#2A661F #371F66 #661F4D
monochromatic
#0A1707 #173711 #2A661F #3D952D #51C43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A661F#FFFFFF#000000##FFFFFF
##2A661F1.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)
#695D16
Deuteranopia (green-blind)
#615825
Tritanopia (blue-blind)
#236357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a661f;
/* rgb */ color: rgb(42, 102, 31);
/* oklch */ color: oklch(45.4% 0.121 140.7);
Tailwind
colors: {
  custom: {
    50: '#6b925e',
    500: '#2a661f',
    950: '#000000',
  },
}
SCSS
$custom: #2a661f;
$custom-light: #6b925e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a661f",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 110.704,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45419,
    "c": 0.12098,
    "h": 140.7
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#2A661F
secondary
#8D469A
accent
#4BDDC6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A661F

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

Preview Lab → · Contrast checker → · Palette generator →

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