#2A6019#2A6019

#2A6019 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.117 H 139.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2A6019
RGBrgb(42, 96, 25)
HSLhsl(106, 59%, 24%)
HSVhsv(106, 74%, 38%)
CMYKcmyk(56.3%, 0%, 74%, 62.4%)
CIE-LABlab(35.84, -32.29, 33.60)
CIE-LCHlch(35.84, 46.60, 133.86°)
OKLaboklab(43.62% -0.0888 0.0766)
OKLCHoklch(43.62% 0.117 139.2)
XYZxyz(5.3130, 8.9278, 2.3628)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6019 #4F1960
analogous
#4D6019 #2A6019 #19602B
triadic
#2A6019 #192A60 #60192A
tetradic
#2A6019 #194D60 #4F1960 #602B19
square
#2A6019 #194D60 #4F1960 #602B19
split-complementary
#2A6019 #2B1960 #60194D
monochromatic
#0B1806 #152F0C #2A6019 #3F9126 #54C132

Accessibility & contrast

On white

7.54
#2A6019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2A6019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6019
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6019#FFFFFF#000000##FFFFFF
##2A60191.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570E
Deuteranopia (green-blind)
#5C5320
Tritanopia (blue-blind)
#255D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a6019;
/* rgb */ color: rgb(42, 96, 25);
/* oklch */ color: oklch(43.6% 0.117 139.2);
Tailwind
colors: {
  custom: {
    50: '#6a8e5a',
    500: '#2a6019',
    950: '#000000',
  },
}
SCSS
$custom: #2a6019;
$custom-light: #6a8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6019",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 25
  },
  "hsl": {
    "h": 105.634,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43618,
    "c": 0.11732,
    "h": 139.2
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#2A6019
secondary
#813F96
accent
#46E2BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A6019

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

Preview Lab → · Contrast checker → · Palette generator →

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