#2A6725#2A6725

#2A6725 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.117 H 142.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2A6725
RGBrgb(42, 103, 37)
HSLhsl(115, 47%, 27%)
HSVhsv(115, 64%, 40%)
CMYKcmyk(59.2%, 0%, 64.1%, 59.6%)
CIE-LABlab(38.42, -33.96, 30.73)
CIE-LCHlch(38.42, 45.80, 137.86°)
OKLaboklab(45.78% -0.0926 0.072)
OKLCHoklch(45.78% 0.117 142.1)
XYZxyz(6.1387, 10.3258, 3.4195)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6725 #622567
analogous
#4B6725 #2A6725 #256741
triadic
#2A6725 #252A67 #67252A
tetradic
#2A6725 #254B67 #622567 #674125
square
#2A6725 #254B67 #622567 #674125
split-complementary
#2A6725 #412567 #67254B
monochromatic
#091708 #183A15 #2A6725 #3C9435 #52BE49

Accessibility & contrast

On white

6.85
#2A6725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A6725 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6725
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6725#FFFFFF#000000##FFFFFF
##2A67251.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E1E
Deuteranopia (green-blind)
#62582A
Tritanopia (blue-blind)
#216459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6725;
/* rgb */ color: rgb(42, 103, 37);
/* oklch */ color: oklch(45.8% 0.117 142.1);
Tailwind
colors: {
  custom: {
    50: '#6a9362',
    500: '#2a6725',
    950: '#000000',
  },
}
SCSS
$custom: #2a6725;
$custom-light: #6a9362;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6725",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 37
  },
  "hsl": {
    "h": 115.455,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.11729,
    "h": 142.1
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#2A6725
secondary
#944E9A
accent
#51D7CD
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6725

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

Preview Lab → · Contrast checker → · Palette generator →

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