#2A6516#2A6516

#2A6516 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.126 H 139.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2A6516
RGBrgb(42, 101, 22)
HSLhsl(105, 64%, 24%)
HSVhsv(105, 78%, 40%)
CMYKcmyk(58.4%, 0%, 78.2%, 60.4%)
CIE-LABlab(37.58, -34.65, 36.64)
CIE-LCHlch(37.58, 50.43, 133.40°)
OKLaboklab(45.05% -0.0954 0.0825)
OKLCHoklch(45.05% 0.126 139.1)
XYZxyz(5.7531, 9.8571, 2.3583)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6516 #511665
analogous
#526516 #2A6516 #16652A
triadic
#2A6516 #162A65 #65162A
tetradic
#2A6516 #165265 #511665 #652A16
square
#2A6516 #165265 #511665 #652A16
split-complementary
#2A6516 #2A1665 #651652
monochromatic
#0A1905 #15330B #2A6516 #3F9721 #54CA2C

Accessibility & contrast

On white

7.07
#2A6516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A6516
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6516#FFFFFF#000000##FFFFFF
##2A65161.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B07
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#246156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a6516;
/* rgb */ color: rgb(42, 101, 22);
/* oklch */ color: oklch(45.0% 0.126 139.1);
Tailwind
colors: {
  custom: {
    50: '#6b9159',
    500: '#2a6516',
    950: '#000000',
  },
}
SCSS
$custom: #2a6516;
$custom-light: #6b9159;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6516",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 104.81,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.12615,
    "h": 139.1
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#2A6516
secondary
#833B9C
accent
#41E7BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A6516

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

Preview Lab → · Contrast checker → · Palette generator →

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