#2A6413#2A6413

#2A6413 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.127 H 138.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2A6413
RGBrgb(42, 100, 19)
HSLhsl(103, 68%, 23%)
HSVhsv(103, 81%, 39%)
CMYKcmyk(58%, 0%, 81%, 60.8%)
CIE-LABlab(37.21, -34.47, 37.42)
CIE-LCHlch(37.21, 50.87, 132.65°)
OKLaboklab(44.73% -0.0951 0.0837)
OKLCHoklch(44.73% 0.127 138.7)
XYZxyz(5.6293, 9.6531, 2.1826)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6413 #4D1364
analogous
#526413 #2A6413 #136424
triadic
#2A6413 #132A64 #64132A
tetradic
#2A6413 #135264 #4D1364 #642413
square
#2A6413 #135264 #4D1364 #642413
split-complementary
#2A6413 #241364 #641352
monochromatic
#0B1A05 #143109 #2A6413 #40971D #55CB27

Accessibility & contrast

On white

7.17
#2A6413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A6413
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6413#FFFFFF#000000##FFFFFF
##2A64131.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B02
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#256055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a6413;
/* rgb */ color: rgb(42, 100, 19);
/* oklch */ color: oklch(44.7% 0.127 138.7);
Tailwind
colors: {
  custom: {
    50: '#6b9158',
    500: '#2a6413',
    950: '#000000',
  },
}
SCSS
$custom: #2a6413;
$custom-light: #6b9158;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6413",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 19
  },
  "hsl": {
    "h": 102.963,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.12669,
    "h": 138.7
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#2A6413
secondary
#7F379C
accent
#3DEBBA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #2A6413

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

Preview Lab → · Contrast checker → · Palette generator →

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