#2A6419#2A6419

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

Color values

HEX#2A6419
RGBrgb(42, 100, 25)
HSLhsl(106, 60%, 25%)
HSVhsv(106, 75%, 39%)
CMYKcmyk(58%, 0%, 75%, 60.8%)
CIE-LABlab(37.26, -33.98, 35.07)
CIE-LCHlch(37.26, 48.83, 134.10°)
OKLaboklab(44.78% -0.0934 0.0797)
OKLCHoklch(44.78% 0.123 139.5)
XYZxyz(5.6872, 9.6763, 2.4875)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6419 #531964
analogous
#506419 #2A6419 #19642E
triadic
#2A6419 #192A64 #64192A
tetradic
#2A6419 #195064 #531964 #642E19
square
#2A6419 #195064 #531964 #642E19
split-complementary
#2A6419 #2E1964 #641950
monochromatic
#0A1806 #15330D #2A6419 #3F9525 #53C631

Accessibility & contrast

On white

7.15
#2A6419 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2A6419 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6419
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6419#FFFFFF#000000##FFFFFF
##2A64191.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0D
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#246055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a6419;
/* rgb */ color: rgb(42, 100, 25);
/* oklch */ color: oklch(44.8% 0.123 139.5);
Tailwind
colors: {
  custom: {
    50: '#6b915b',
    500: '#2a6419',
    950: '#000000',
  },
}
SCSS
$custom: #2a6419;
$custom-light: #6b915b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6419",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 25
  },
  "hsl": {
    "h": 106.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4478,
    "c": 0.1228,
    "h": 139.5
  },
  "luminance": 0.09677
}

Semantic roles & 50–950 ramp

primary
#2A6419
secondary
#853F9A
accent
#45E3BF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2A6419

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

Preview Lab → · Contrast checker → · Palette generator →

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