#2A6325#2A6325

#2A6325 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.112 H 142.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2A6325
RGBrgb(42, 99, 37)
HSLhsl(115, 46%, 27%)
HSVhsv(115, 63%, 39%)
CMYKcmyk(57.6%, 0%, 62.6%, 61.2%)
CIE-LABlab(37.02, -32.25, 29.12)
CIE-LCHlch(37.02, 43.45, 137.92°)
OKLaboklab(44.63% -0.0879 0.0686)
OKLCHoklch(44.63% 0.112 142.1)
XYZxyz(5.7503, 9.5490, 3.2900)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6325 #5E2563
analogous
#496325 #2A6325 #25633F
triadic
#2A6325 #252A63 #63252A
tetradic
#2A6325 #254963 #5E2563 #633F25
square
#2A6325 #254963 #5E2563 #633F25
split-complementary
#2A6325 #3F2563 #632549
monochromatic
#091608 #173614 #2A6325 #3D9036 #51BB48

Accessibility & contrast

On white

7.22
#2A6325 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2A6325 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A6325
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6325#FFFFFF#000000##FFFFFF
##2A63251.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1F
Deuteranopia (green-blind)
#5E552A
Tritanopia (blue-blind)
#226056
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a6325;
/* rgb */ color: rgb(42, 99, 37);
/* oklch */ color: oklch(44.6% 0.112 142.1);
Tailwind
colors: {
  custom: {
    50: '#6a9062',
    500: '#2a6325',
    950: '#000000',
  },
}
SCSS
$custom: #2a6325;
$custom-light: #6a9062;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6325",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 37
  },
  "hsl": {
    "h": 115.161,
    "s": 45.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.44625,
    "c": 0.11151,
    "h": 142.1
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#2A6325
secondary
#904E96
accent
#53D5CB
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2A6325

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

Preview Lab → · Contrast checker → · Palette generator →

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