#2A6319#2A6319

#2A6319 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.121 H 139.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2A6319
RGBrgb(42, 99, 25)
HSLhsl(106, 60%, 24%)
HSVhsv(106, 75%, 39%)
CMYKcmyk(57.6%, 0%, 74.7%, 61.2%)
CIE-LABlab(36.90, -33.56, 34.70)
CIE-LCHlch(36.90, 48.28, 134.04°)
OKLaboklab(44.49% -0.0923 0.0789)
OKLCHoklch(44.49% 0.121 139.5)
XYZxyz(5.5919, 9.4857, 2.4558)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6319 #521963
analogous
#4F6319 #2A6319 #19632D
triadic
#2A6319 #192A63 #63192A
tetradic
#2A6319 #194F63 #521963 #632D19
square
#2A6319 #194F63 #521963 #632D19
split-complementary
#2A6319 #2D1963 #63194F
monochromatic
#0A1806 #15320D #2A6319 #3F9425 #53C532

Accessibility & contrast

On white

7.25
#2A6319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2A6319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6319
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6319#FFFFFF#000000##FFFFFF
##2A63191.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0D
Deuteranopia (green-blind)
#5F5520
Tritanopia (blue-blind)
#246054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a6319;
/* rgb */ color: rgb(42, 99, 25);
/* oklch */ color: oklch(44.5% 0.121 139.5);
Tailwind
colors: {
  custom: {
    50: '#6a905b',
    500: '#2a6319',
    950: '#000000',
  },
}
SCSS
$custom: #2a6319;
$custom-light: #6a905b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6319",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 106.216,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.12143,
    "h": 139.5
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#2A6319
secondary
#843F99
accent
#45E3BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A6319

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

Preview Lab → · Contrast checker → · Palette generator →

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