#2A6730#2A6730

#2A6730 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.9% C 0.107 H 145.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2A6730
RGBrgb(42, 103, 48)
HSLhsl(126, 42%, 28%)
HSVhsv(126, 59%, 40%)
CMYKcmyk(59.2%, 0%, 53.4%, 59.6%)
CIE-LABlab(38.56, -32.42, 25.08)
CIE-LCHlch(38.56, 40.98, 142.28°)
OKLaboklab(45.94% -0.0879 0.0606)
OKLCHoklch(45.94% 0.107 145.4)
XYZxyz(6.3382, 10.4056, 4.4702)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6730 #672A61
analogous
#42672A #2A6730 #2A674E
triadic
#2A6730 #302A67 #67302A
tetradic
#2A6730 #2A4267 #672A61 #674E2A
square
#2A6730 #2A4267 #672A61 #674E2A
split-complementary
#2A6730 #4E2A67 #672A42
monochromatic
#09160A #183C1C #2A6730 #3C9244 #53B95D

Accessibility & contrast

On white

6.82
#2A6730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2A6730 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6730
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6730#FFFFFF#000000##FFFFFF
##2A67301.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E2B
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#1F655A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a6730;
/* rgb */ color: rgb(42, 103, 48);
/* oklch */ color: oklch(45.9% 0.107 145.4);
Tailwind
colors: {
  custom: {
    50: '#6a9369',
    500: '#2a6730',
    950: '#000000',
  },
}
SCSS
$custom: #2a6730;
$custom-light: #6a9369;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6730",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 48
  },
  "hsl": {
    "h": 125.902,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.10672,
    "h": 145.4
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#2A6730
secondary
#995492
accent
#56C6D2
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2A6730

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

Preview Lab → · Contrast checker → · Palette generator →

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