#2A6724#2A6724

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

Color values

HEX#2A6724
RGBrgb(42, 103, 36)
HSLhsl(115, 48%, 27%)
HSVhsv(115, 65%, 40%)
CMYKcmyk(59.2%, 0%, 65%, 59.6%)
CIE-LABlab(38.41, -34.09, 31.22)
CIE-LCHlch(38.41, 46.22, 137.52°)
OKLaboklab(45.77% -0.093 0.073)
OKLCHoklch(45.77% 0.118 141.9)
XYZxyz(6.1232, 10.3196, 3.3379)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6724 #612467
analogous
#4C6724 #2A6724 #246740
triadic
#2A6724 #242A67 #67242A
tetradic
#2A6724 #244C67 #612467 #674024
square
#2A6724 #244C67 #612467 #674024
split-complementary
#2A6724 #402467 #67244C
monochromatic
#091708 #183A14 #2A6724 #3C9434 #52BF47

Accessibility & contrast

On white

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

On black

3.06
#2A6724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A6724#FFFFFF#000000##FFFFFF
##2A67241.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E1C
Deuteranopia (green-blind)
#625829
Tritanopia (blue-blind)
#216459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6724;
/* rgb */ color: rgb(42, 103, 36);
/* oklch */ color: oklch(45.8% 0.118 141.9);
Tailwind
colors: {
  custom: {
    50: '#6b9361',
    500: '#2a6724',
    950: '#000000',
  },
}
SCSS
$custom: #2a6724;
$custom-light: #6b9361;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6724",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 36
  },
  "hsl": {
    "h": 114.627,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.11817,
    "h": 141.9
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#2A6724
secondary
#934C9A
accent
#50D8CC
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6724

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

Preview Lab → · Contrast checker → · Palette generator →

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