#2F741C#2F741C

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

Color values

HEX#2F741C
RGBrgb(47, 116, 28)
HSLhsl(107, 61%, 28%)
HSVhsv(107, 76%, 45%)
CMYKcmyk(59.5%, 0%, 75.9%, 54.5%)
CIE-LABlab(43.03, -38.78, 39.80)
CIE-LCHlch(43.03, 55.57, 134.26°)
OKLaboklab(49.6% -0.1065 0.09)
OKLCHoklch(49.6% 0.139 139.8)
XYZxyz(7.6270, 13.1783, 3.2401)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F741C #611C74
analogous
#5B741C #2F741C #1C7435
triadic
#2F741C #1C2F74 #741C2F
tetradic
#2F741C #1C5B74 #611C74 #74351C
square
#2F741C #1C5B74 #611C74 #74351C
split-complementary
#2F741C #351C74 #741C5B
monochromatic
#0A1906 #1B4310 #2F741C #43A528 #5BD03B

Accessibility & contrast

On white

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

On black

3.64
#2F741C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F741C#FFFFFF#000000##FFFFFF
##2F741C1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f741c;
/* rgb */ color: rgb(47, 116, 28);
/* oklch */ color: oklch(49.6% 0.139 139.8);
Tailwind
colors: {
  custom: {
    50: '#709d5e',
    500: '#2f741c',
    950: '#000000',
  },
}
SCSS
$custom: #2f741c;
$custom-light: #709d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f741c",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 107.045,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.13943,
    "h": 139.8
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#2F741C
secondary
#9343A8
accent
#44E4C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F741C

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

Preview Lab → · Contrast checker → · Palette generator →

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