#2A651A#2A651A

#2A651A is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.123 H 139.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2A651A
RGBrgb(42, 101, 26)
HSLhsl(107, 59%, 25%)
HSVhsv(107, 74%, 40%)
CMYKcmyk(58.4%, 0%, 74.3%, 60.4%)
CIE-LABlab(37.61, -34.31, 35.01)
CIE-LCHlch(37.61, 49.02, 134.42°)
OKLaboklab(45.08% -0.0942 0.0797)
OKLCHoklch(45.08% 0.123 139.8)
XYZxyz(5.7947, 9.8737, 2.5775)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A651A #551A65
analogous
#50651A #2A651A #1A6530
triadic
#2A651A #1A2A65 #651A2A
tetradic
#2A651A #1A5065 #551A65 #65301A
square
#2A651A #1A5065 #551A65 #65301A
split-complementary
#2A651A #301A65 #651A50
monochromatic
#0A1806 #16340D #2A651A #3E9627 #52C633

Accessibility & contrast

On white

7.06
#2A651A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2A651A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A651A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A651A#FFFFFF#000000##FFFFFF
##2A651A1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0E
Deuteranopia (green-blind)
#605721
Tritanopia (blue-blind)
#246256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a651a;
/* rgb */ color: rgb(42, 101, 26);
/* oklch */ color: oklch(45.1% 0.123 139.8);
Tailwind
colors: {
  custom: {
    50: '#6b915b',
    500: '#2a651a',
    950: '#000000',
  },
}
SCSS
$custom: #2a651a;
$custom-light: #6b915b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a651a",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 26
  },
  "hsl": {
    "h": 107.2,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.12343,
    "h": 139.8
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#2A651A
secondary
#87409B
accent
#46E2C1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A651A

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

Preview Lab → · Contrast checker → · Palette generator →

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