#2A6726#2A6726

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

Color values

HEX#2A6726
RGBrgb(42, 103, 38)
HSLhsl(116, 46%, 28%)
HSVhsv(116, 63%, 40%)
CMYKcmyk(59.2%, 0%, 63.1%, 59.6%)
CIE-LABlab(38.43, -33.84, 30.24)
CIE-LCHlch(38.43, 45.38, 138.22°)
OKLaboklab(45.79% -0.0922 0.0711)
OKLCHoklch(45.79% 0.116 142.4)
XYZxyz(6.1546, 10.3321, 3.5033)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6726 #632667
analogous
#4A6726 #2A6726 #266743
triadic
#2A6726 #262A67 #67262A
tetradic
#2A6726 #264A67 #632667 #674326
square
#2A6726 #264A67 #632667 #674326
split-complementary
#2A6726 #432667 #67264A
monochromatic
#091608 #183A16 #2A6726 #3C9436 #52BD4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6726#FFFFFF#000000##FFFFFF
##2A67261.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)
#695E1F
Deuteranopia (green-blind)
#61582B
Tritanopia (blue-blind)
#216459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6726;
/* rgb */ color: rgb(42, 103, 38);
/* oklch */ color: oklch(45.8% 0.116 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9363',
    500: '#2a6726',
    950: '#000000',
  },
}
SCSS
$custom: #2a6726;
$custom-light: #6a9363;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6726",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 38
  },
  "hsl": {
    "h": 116.308,
    "s": 46.099,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4579,
    "c": 0.1164,
    "h": 142.4
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#2A6726
secondary
#954F9A
accent
#52D6CE
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2A6726

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

Preview Lab → · Contrast checker → · Palette generator →

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