#2A7630#2A7630

#2A7630 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.129 H 144.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2A7630
RGBrgb(42, 118, 48)
HSLhsl(125, 48%, 31%)
HSVhsv(125, 64%, 46%)
CMYKcmyk(64.4%, 0%, 59.3%, 53.7%)
CIE-LABlab(43.74, -38.70, 31.33)
CIE-LCHlch(43.74, 49.79, 141.01°)
OKLaboklab(50.21% -0.1048 0.0743)
OKLCHoklch(50.21% 0.129 144.7)
XYZxyz(7.9663, 13.6617, 5.0129)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7630 #762A70
analogous
#4A762A #2A7630 #2A7656
triadic
#2A7630 #302A76 #76302A
tetradic
#2A7630 #2A4A76 #762A70 #76562A
square
#2A7630 #2A4A76 #762A70 #76562A
split-complementary
#2A7630 #562A76 #762A4A
monochromatic
#0A1C0B #1A491E #2A7630 #3AA342 #57C360

Accessibility & contrast

On white

5.63
#2A7630 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2A7630 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7630
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7630#FFFFFF#000000##FFFFFF
##2A76301.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B29
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#197367
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7630;
/* rgb */ color: rgb(42, 118, 48);
/* oklch */ color: oklch(50.2% 0.129 144.7);
Tailwind
colors: {
  custom: {
    50: '#6d9e6a',
    500: '#2a7630',
    950: '#000000',
  },
}
SCSS
$custom: #2a7630;
$custom-light: #6d9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7630",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 48
  },
  "hsl": {
    "h": 124.737,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.12853,
    "h": 144.7
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#2A7630
secondary
#A854A1
accent
#51CCD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2A7630

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

Preview Lab → · Contrast checker → · Palette generator →

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