#2A7919#2A7919

#2A7919 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.150 H 140.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2A7919
RGBrgb(42, 121, 25)
HSLhsl(109, 66%, 29%)
HSVhsv(109, 79%, 47%)
CMYKcmyk(65.3%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.57, -42.25, 42.41)
CIE-LCHlch(44.57, 59.86, 134.90°)
OKLaboklab(50.82% -0.1157 0.095)
OKLCHoklch(50.82% 0.15 140.6)
XYZxyz(7.9673, 14.2364, 3.2475)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7919 #681979
analogous
#5A7919 #2A7919 #197938
triadic
#2A7919 #192A79 #79192A
tetradic
#2A7919 #195A79 #681979 #793819
square
#2A7919 #195A79 #681979 #793819
split-complementary
#2A7919 #381979 #79195A
monochromatic
#091905 #18460F #2A7919 #3CAC23 #53D637

Accessibility & contrast

On white

5.46
#2A7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7919
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7919#FFFFFF#000000##FFFFFF
##2A79191.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#1E7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7919;
/* rgb */ color: rgb(42, 121, 25);
/* oklch */ color: oklch(50.8% 0.150 140.6);
Tailwind
colors: {
  custom: {
    50: '#6fa05e',
    500: '#2a7919',
    950: '#000000',
  },
}
SCSS
$custom: #2a7919;
$custom-light: #6fa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7919",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 109.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50824,
    "c": 0.14975,
    "h": 140.6
  },
  "luminance": 0.14237
}

Semantic roles & 50–950 ramp

primary
#2A7919
secondary
#9A40AE
accent
#3FE9CB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2A7919

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

Preview Lab → · Contrast checker → · Palette generator →

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