#2A661A#2A661A

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

Color values

HEX#2A661A
RGBrgb(42, 102, 26)
HSLhsl(107, 59%, 25%)
HSVhsv(107, 75%, 40%)
CMYKcmyk(58.8%, 0%, 74.5%, 60%)
CIE-LABlab(37.97, -34.72, 35.38)
CIE-LCHlch(37.97, 49.57, 134.47°)
OKLaboklab(45.37% -0.0953 0.0805)
OKLCHoklch(45.37% 0.125 139.8)
XYZxyz(5.8924, 10.0691, 2.6101)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A661A #561A66
analogous
#50661A #2A661A #1A6630
triadic
#2A661A #1A2A66 #661A2A
tetradic
#2A661A #1A5066 #561A66 #66301A
square
#2A661A #1A5066 #561A66 #66301A
split-complementary
#2A661A #301A66 #661A50
monochromatic
#0A1806 #16350E #2A661A #3E9726 #52C833

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A661A#FFFFFF#000000##FFFFFF
##2A661A1.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)
#695C0E
Deuteranopia (green-blind)
#615721
Tritanopia (blue-blind)
#236257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a661a;
/* rgb */ color: rgb(42, 102, 26);
/* oklch */ color: oklch(45.4% 0.125 139.8);
Tailwind
colors: {
  custom: {
    50: '#6b925b',
    500: '#2a661a',
    950: '#000000',
  },
}
SCSS
$custom: #2a661a;
$custom-light: #6b925b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a661a",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 107.368,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45369,
    "c": 0.12478,
    "h": 139.8
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#2A661A
secondary
#88409C
accent
#45E3C1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A661A

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

Preview Lab → · Contrast checker → · Palette generator →

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