#2A6916#2A6916

#2A6916 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.131 H 139.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2A6916
RGBrgb(42, 105, 22)
HSLhsl(106, 65%, 25%)
HSVhsv(106, 79%, 41%)
CMYKcmyk(60%, 0%, 79%, 58.8%)
CIE-LABlab(38.99, -36.28, 38.03)
CIE-LCHlch(38.99, 52.56, 133.65°)
OKLaboklab(46.2% -0.0998 0.0855)
OKLCHoklch(46.2% 0.131 139.4)
XYZxyz(6.1510, 10.6528, 2.4910)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6916 #551669
analogous
#546916 #2A6916 #16692B
triadic
#2A6916 #162A69 #69162A
tetradic
#2A6916 #165469 #551669 #692B16
square
#2A6916 #165469 #551669 #692B16
split-complementary
#2A6916 #2B1669 #691654
monochromatic
#0A1905 #16360B #2A6916 #3E9C21 #52CE2B

Accessibility & contrast

On white

6.71
#2A6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2A6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6916
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6916#FFFFFF#000000##FFFFFF
##2A69161.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#236559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6916;
/* rgb */ color: rgb(42, 105, 22);
/* oklch */ color: oklch(46.2% 0.131 139.4);
Tailwind
colors: {
  custom: {
    50: '#6c945a',
    500: '#2a6916',
    950: '#000000',
  },
}
SCSS
$custom: #2a6916;
$custom-light: #6c945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6916",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 105.542,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46204,
    "c": 0.13139,
    "h": 139.4
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#2A6916
secondary
#873B9F
accent
#3FE8C0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6916

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

Preview Lab → · Contrast checker → · Palette generator →

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