#2A741C#2A741C

#2A741C is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.142 H 140.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A741C
RGBrgb(42, 116, 28)
HSLhsl(110, 61%, 28%)
HSVhsv(110, 76%, 45%)
CMYKcmyk(63.8%, 0%, 75.9%, 54.5%)
CIE-LABlab(42.86, -40.13, 39.58)
CIE-LCHlch(42.86, 56.36, 135.40°)
OKLaboklab(49.42% -0.1098 0.0896)
OKLCHoklch(49.42% 0.142 140.8)
XYZxyz(7.4095, 13.0662, 3.2299)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A741C #661C74
analogous
#56741C #2A741C #1C743A
triadic
#2A741C #1C2A74 #741C2A
tetradic
#2A741C #1C5674 #661C74 #743A1C
square
#2A741C #1C5674 #661C74 #743A1C
split-complementary
#2A741C #3A1C74 #741C56
monochromatic
#091906 #184310 #2A741C #3CA528 #52D03B

Accessibility & contrast

On white

5.81
#2A741C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2A741C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A741C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A741C#FFFFFF#000000##FFFFFF
##2A741C1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#1F7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a741c;
/* rgb */ color: rgb(42, 116, 28);
/* oklch */ color: oklch(49.4% 0.142 140.8);
Tailwind
colors: {
  custom: {
    50: '#6e9d5e',
    500: '#2a741c',
    950: '#000000',
  },
}
SCSS
$custom: #2a741c;
$custom-light: #6e9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a741c",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 110.455,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49418,
    "c": 0.1417,
    "h": 140.8
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#2A741C
secondary
#9843A8
accent
#44E4CB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A741C

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

Preview Lab → · Contrast checker → · Palette generator →

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