#2F7310#2F7310

#2F7310 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.145 H 138.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2F7310
RGBrgb(47, 115, 16)
HSLhsl(101, 76%, 26%)
HSVhsv(101, 86%, 45%)
CMYKcmyk(59.1%, 0%, 86.1%, 54.9%)
CIE-LABlab(42.62, -39.19, 43.54)
CIE-LCHlch(42.62, 58.58, 131.99°)
OKLaboklab(49.24% -0.1083 0.096)
OKLCHoklch(49.24% 0.145 138.5)
XYZxyz(7.3963, 12.9026, 2.5908)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7310 #541073
analogous
#607310 #2F7310 #107322
triadic
#2F7310 #102F73 #73102F
tetradic
#2F7310 #106073 #541073 #732210
square
#2F7310 #106073 #541073 #732210
split-complementary
#2F7310 #221073 #731060
monochromatic
#0B1B04 #193D09 #2F7310 #45A917 #5BDE1F

Accessibility & contrast

On white

5.86
#2F7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2F7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7310
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7310#FFFFFF#000000##FFFFFF
##2F73101.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E631D
Tritanopia (blue-blind)
#286F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7310;
/* rgb */ color: rgb(47, 115, 16);
/* oklch */ color: oklch(49.2% 0.145 138.5);
Tailwind
colors: {
  custom: {
    50: '#719c59',
    500: '#2f7310',
    950: '#000000',
  },
}
SCSS
$custom: #2f7310;
$custom-light: #719c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7310",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 101.212,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49239,
    "c": 0.14471,
    "h": 138.5
  },
  "luminance": 0.12903
}

Semantic roles & 50–950 ramp

primary
#2F7310
secondary
#8534AA
accent
#36F2B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7310

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

Preview Lab → · Contrast checker → · Palette generator →

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