#2A741F#2A741F

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

Color values

HEX#2A741F
RGBrgb(42, 116, 31)
HSLhsl(112, 58%, 29%)
HSVhsv(112, 73%, 45%)
CMYKcmyk(63.8%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.89, -39.86, 38.37)
CIE-LCHlch(42.89, 55.33, 136.09°)
OKLaboklab(49.44% -0.1089 0.0875)
OKLCHoklch(49.44% 0.14 141.2)
XYZxyz(7.4472, 13.0813, 3.4285)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A741F #691F74
analogous
#55741F #2A741F #1F743F
triadic
#2A741F #1F2A74 #741F2A
tetradic
#2A741F #1F5574 #691F74 #743F1F
square
#2A741F #1F5574 #691F74 #743F1F
split-complementary
#2A741F #3F1F74 #741F55
monochromatic
#091806 #194412 #2A741F #3BA42C #53CC41

Accessibility & contrast

On white

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

On black

3.62
#2A741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A741F#FFFFFF#000000##FFFFFF
##2A741F1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#1E7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a741f;
/* rgb */ color: rgb(42, 116, 31);
/* oklch */ color: oklch(49.4% 0.140 141.2);
Tailwind
colors: {
  custom: {
    50: '#6d9d60',
    500: '#2a741f',
    950: '#000000',
  },
}
SCSS
$custom: #2a741f;
$custom-light: #6d9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a741f",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 112.235,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.13968,
    "h": 141.2
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#2A741F
secondary
#9B47A8
accent
#47E1CD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A741F

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

Preview Lab → · Contrast checker → · Palette generator →

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