#2A6418#2A6418

#2A6418 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.8% C 0.123 H 139.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2A6418
RGBrgb(42, 100, 24)
HSLhsl(106, 61%, 24%)
HSVhsv(106, 76%, 39%)
CMYKcmyk(58%, 0%, 76%, 60.8%)
CIE-LABlab(37.25, -34.07, 35.48)
CIE-LCHlch(37.25, 49.19, 133.84°)
OKLaboklab(44.77% -0.0937 0.0804)
OKLCHoklch(44.77% 0.123 139.4)
XYZxyz(5.6767, 9.6721, 2.4317)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6418 #521864
analogous
#506418 #2A6418 #18642C
triadic
#2A6418 #182A64 #64182A
tetradic
#2A6418 #185064 #521864 #642C18
square
#2A6418 #185064 #521864 #642C18
split-complementary
#2A6418 #2C1864 #641850
monochromatic
#0A1906 #15330C #2A6418 #3F9524 #53C730

Accessibility & contrast

On white

7.16
#2A6418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2A6418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6418
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6418#FFFFFF#000000##FFFFFF
##2A64181.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#246055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a6418;
/* rgb */ color: rgb(42, 100, 24);
/* oklch */ color: oklch(44.8% 0.123 139.4);
Tailwind
colors: {
  custom: {
    50: '#6b915a',
    500: '#2a6418',
    950: '#000000',
  },
}
SCSS
$custom: #2a6418;
$custom-light: #6b915a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6418",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 105.789,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44771,
    "c": 0.12349,
    "h": 139.4
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#2A6418
secondary
#843E9A
accent
#43E4BE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2A6418

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

Preview Lab → · Contrast checker → · Palette generator →

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