#2A7619#2A7619

#2A7619 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.146 H 140.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2A7619
RGBrgb(42, 118, 25)
HSLhsl(109, 65%, 28%)
HSVhsv(109, 79%, 46%)
CMYKcmyk(64.4%, 0%, 78.8%, 53.7%)
CIE-LABlab(43.53, -41.13, 41.39)
CIE-LCHlch(43.53, 58.35, 134.82°)
OKLaboklab(49.97% -0.1127 0.0929)
OKLCHoklch(49.97% 0.146 140.5)
XYZxyz(7.6084, 13.5186, 3.1279)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7619 #651976
analogous
#587619 #2A7619 #197636
triadic
#2A7619 #192A76 #76192A
tetradic
#2A7619 #195876 #651976 #763619
square
#2A7619 #195876 #651976 #763619
split-complementary
#2A7619 #361976 #761958
monochromatic
#091905 #18430E #2A7619 #3CA824 #52D435

Accessibility & contrast

On white

5.67
#2A7619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2A7619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7619
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7619#FFFFFF#000000##FFFFFF
##2A76191.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B05
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#1F7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7619;
/* rgb */ color: rgb(42, 118, 25);
/* oklch */ color: oklch(50.0% 0.146 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e9e5d',
    500: '#2a7619',
    950: '#000000',
  },
}
SCSS
$custom: #2a7619;
$custom-light: #6e9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7619",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 25
  },
  "hsl": {
    "h": 109.032,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49967,
    "c": 0.14605,
    "h": 140.5
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#2A7619
secondary
#9740AB
accent
#40E8C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7619

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

Preview Lab → · Contrast checker → · Palette generator →

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