#2A6616#2A6616

#2A6616 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.127 H 139.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2A6616
RGBrgb(42, 102, 22)
HSLhsl(105, 65%, 24%)
HSVhsv(105, 78%, 40%)
CMYKcmyk(58.8%, 0%, 78.4%, 60%)
CIE-LABlab(37.94, -35.06, 36.99)
CIE-LCHlch(37.94, 50.97, 133.47°)
OKLaboklab(45.34% -0.0965 0.0833)
OKLCHoklch(45.34% 0.127 139.2)
XYZxyz(5.8508, 10.0524, 2.3909)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6616 #521666
analogous
#526616 #2A6616 #16662A
triadic
#2A6616 #162A66 #66162A
tetradic
#2A6616 #165266 #521666 #662A16
square
#2A6616 #165266 #521666 #662A16
split-complementary
#2A6616 #2A1666 #661652
monochromatic
#0A1905 #15340B #2A6616 #3F9821 #53CB2C

Accessibility & contrast

On white

6.98
#2A6616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6616
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6616#FFFFFF#000000##FFFFFF
##2A66161.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C06
Deuteranopia (green-blind)
#62571E
Tritanopia (blue-blind)
#246257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a6616;
/* rgb */ color: rgb(42, 102, 22);
/* oklch */ color: oklch(45.3% 0.127 139.2);
Tailwind
colors: {
  custom: {
    50: '#6b9259',
    500: '#2a6616',
    950: '#000000',
  },
}
SCSS
$custom: #2a6616;
$custom-light: #6b9259;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6616",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 105,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.12748,
    "h": 139.2
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#2A6616
secondary
#843B9D
accent
#40E8BE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6616

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

Preview Lab → · Contrast checker → · Palette generator →

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