#2F741B#2F741B

#2F741B is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.140 H 139.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2F741B
RGBrgb(47, 116, 27)
HSLhsl(107, 62%, 28%)
HSVhsv(107, 77%, 45%)
CMYKcmyk(59.5%, 0%, 76.7%, 54.5%)
CIE-LABlab(43.02, -38.86, 40.19)
CIE-LCHlch(43.02, 55.90, 134.04°)
OKLaboklab(49.6% -0.1068 0.0906)
OKLCHoklch(49.6% 0.14 139.7)
XYZxyz(7.6152, 13.1736, 3.1782)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F741B #601B74
analogous
#5B741B #2F741B #1B7433
triadic
#2F741B #1B2F74 #741B2F
tetradic
#2F741B #1B5B74 #601B74 #74331B
square
#2F741B #1B5B74 #601B74 #74331B
split-complementary
#2F741B #331B74 #741B5B
monochromatic
#0A1906 #1B420F #2F741B #43A627 #5BD139

Accessibility & contrast

On white

5.78
#2F741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F741B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F741B#FFFFFF#000000##FFFFFF
##2F741B1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6F6324
Tritanopia (blue-blind)
#277063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f741b;
/* rgb */ color: rgb(47, 116, 27);
/* oklch */ color: oklch(49.6% 0.140 139.7);
Tailwind
colors: {
  custom: {
    50: '#709d5e',
    500: '#2f741b',
    950: '#000000',
  },
}
SCSS
$custom: #2f741b;
$custom-light: #709d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f741b",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 106.517,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49595,
    "c": 0.14007,
    "h": 139.7
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

primary
#2F741B
secondary
#9242A9
accent
#42E5C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F741B

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

Preview Lab → · Contrast checker → · Palette generator →

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