#2A741B#2A741B

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

Color values

HEX#2A741B
RGBrgb(42, 116, 27)
HSLhsl(110, 62%, 28%)
HSVhsv(110, 77%, 45%)
CMYKcmyk(63.8%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.86, -40.21, 39.96)
CIE-LCHlch(42.86, 56.69, 135.18°)
OKLaboklab(49.41% -0.1101 0.0902)
OKLCHoklch(49.41% 0.142 140.7)
XYZxyz(7.3977, 13.0615, 3.1680)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A741B #651B74
analogous
#56741B #2A741B #1B7439
triadic
#2A741B #1B2A74 #741B2A
tetradic
#2A741B #1B5674 #651B74 #74391B
square
#2A741B #1B5674 #651B74 #74391B
split-complementary
#2A741B #391B74 #741B56
monochromatic
#091906 #18420F #2A741B #3CA627 #52D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A741B#FFFFFF#000000##FFFFFF
##2A741B1.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)
#77690A
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#1F7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a741b;
/* rgb */ color: rgb(42, 116, 27);
/* oklch */ color: oklch(49.4% 0.142 140.7);
Tailwind
colors: {
  custom: {
    50: '#6e9d5e',
    500: '#2a741b',
    950: '#000000',
  },
}
SCSS
$custom: #2a741b;
$custom-light: #6e9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a741b",
  "rgb": {
    "r": 42,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 109.888,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49409,
    "c": 0.14234,
    "h": 140.7
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#2A741B
secondary
#9742A9
accent
#42E5CA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2A741B

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

Preview Lab → · Contrast checker → · Palette generator →

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