#2A7625#2A7625

#2A7625 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.138 H 142.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7625
RGBrgb(42, 118, 37)
HSLhsl(116, 52%, 30%)
HSVhsv(116, 69%, 46%)
CMYKcmyk(64.4%, 0%, 68.6%, 53.7%)
CIE-LABlab(43.63, -40.04, 36.53)
CIE-LCHlch(43.63, 54.20, 137.63°)
OKLaboklab(50.07% -0.109 0.0844)
OKLCHoklch(50.07% 0.138 142.3)
XYZxyz(7.7668, 13.5819, 3.9622)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7625 #712576
analogous
#527625 #2A7625 #257648
triadic
#2A7625 #252A76 #76252A
tetradic
#2A7625 #255276 #712576 #764825
square
#2A7625 #255276 #712576 #764825
split-complementary
#2A7625 #482576 #762552
monochromatic
#091908 #194716 #2A7625 #3BA534 #55C74E

Accessibility & contrast

On white

5.65
#2A7625 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2A7625 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7625
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7625#FFFFFF#000000##FFFFFF
##2A76251.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1B
Deuteranopia (green-blind)
#6F652C
Tritanopia (blue-blind)
#1C7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7625;
/* rgb */ color: rgb(42, 118, 37);
/* oklch */ color: oklch(50.1% 0.138 142.3);
Tailwind
colors: {
  custom: {
    50: '#6e9e64',
    500: '#2a7625',
    950: '#000000',
  },
}
SCSS
$custom: #2a7625;
$custom-light: #6e9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7625",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 37
  },
  "hsl": {
    "h": 116.296,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.13787,
    "h": 142.3
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#2A7625
secondary
#A34EA9
accent
#4CDCD3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2A7625

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

Preview Lab → · Contrast checker → · Palette generator →

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