#2A7519#2A7519

#2A7519 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.145 H 140.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2A7519
RGBrgb(42, 117, 25)
HSLhsl(109, 65%, 28%)
HSVhsv(109, 79%, 46%)
CMYKcmyk(64.1%, 0%, 78.6%, 54.1%)
CIE-LABlab(43.19, -40.75, 41.05)
CIE-LCHlch(43.19, 57.84, 134.79°)
OKLaboklab(49.68% -0.1117 0.0922)
OKLCHoklch(49.68% 0.145 140.5)
XYZxyz(7.4912, 13.2843, 3.0889)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7519 #641975
analogous
#587519 #2A7519 #197536
triadic
#2A7519 #192A75 #75192A
tetradic
#2A7519 #195875 #641975 #753619
square
#2A7519 #195875 #641975 #753619
split-complementary
#2A7519 #361975 #751958
monochromatic
#091905 #18430E #2A7519 #3CA724 #52D435

Accessibility & contrast

On white

5.74
#2A7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2A7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7519
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7519#FFFFFF#000000##FFFFFF
##2A75191.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A05
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#1F7163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7519;
/* rgb */ color: rgb(42, 117, 25);
/* oklch */ color: oklch(49.7% 0.145 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e9d5d',
    500: '#2a7519',
    950: '#000000',
  },
}
SCSS
$custom: #2a7519;
$custom-light: #6e9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7519",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 108.913,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.14481,
    "h": 140.5
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#2A7519
secondary
#9640AA
accent
#40E8C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A7519

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

Preview Lab → · Contrast checker → · Palette generator →

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