#2F7718#2F7718

#2F7718 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.146 H 139.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F7718
RGBrgb(47, 119, 24)
HSLhsl(105, 66%, 28%)
HSVhsv(105, 80%, 47%)
CMYKcmyk(60.5%, 0%, 79.8%, 53.3%)
CIE-LABlab(44.04, -40.26, 42.30)
CIE-LCHlch(44.04, 58.40, 133.59°)
OKLaboklab(50.43% -0.1107 0.0946)
OKLCHoklch(50.43% 0.146 139.5)
XYZxyz(7.9336, 13.8632, 3.1218)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7718 #601877
analogous
#5E7718 #2F7718 #187730
triadic
#2F7718 #182F77 #77182F
tetradic
#2F7718 #185E77 #601877 #773018
square
#2F7718 #185E77 #601877 #773018
split-complementary
#2F7718 #301877 #77185E
monochromatic
#0A1905 #1B440E #2F7718 #43AA22 #5BD633

Accessibility & contrast

On white

5.57
#2F7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2F7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7718
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7718#FFFFFF#000000##FFFFFF
##2F77181.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#277365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7718;
/* rgb */ color: rgb(47, 119, 24);
/* oklch */ color: oklch(50.4% 0.146 139.5);
Tailwind
colors: {
  custom: {
    50: '#719f5d',
    500: '#2f7718',
    950: '#000000',
  },
}
SCSS
$custom: #2f7718;
$custom-light: #719f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7718",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 105.474,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.14565,
    "h": 139.5
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#2F7718
secondary
#923FAC
accent
#3EE9C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7718

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

Preview Lab → · Contrast checker → · Palette generator →

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