#2F7010#2F7010

#2F7010 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.141 H 138.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2F7010
RGBrgb(47, 112, 16)
HSLhsl(101, 75%, 25%)
HSVhsv(101, 86%, 44%)
CMYKcmyk(58%, 0%, 85.7%, 56.1%)
CIE-LABlab(41.58, -38.01, 42.59)
CIE-LCHlch(41.58, 57.08, 131.74°)
OKLaboklab(48.38% -0.1051 0.094)
OKLCHoklch(48.38% 0.141 138.2)
XYZxyz(7.0597, 12.2295, 2.4786)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7010 #511070
analogous
#5F7010 #2F7010 #107021
triadic
#2F7010 #102F70 #70102F
tetradic
#2F7010 #105F70 #511070 #702110
square
#2F7010 #105F70 #511070 #702110
split-complementary
#2F7010 #211070 #70105F
monochromatic
#0B1B04 #193A08 #2F7010 #45A618 #5CDB1F

Accessibility & contrast

On white

6.09
#2F7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7010
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7010#FFFFFF#000000##FFFFFF
##2F70101.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#296C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f7010;
/* rgb */ color: rgb(47, 112, 16);
/* oklch */ color: oklch(48.4% 0.141 138.2);
Tailwind
colors: {
  custom: {
    50: '#709a58',
    500: '#2f7010',
    950: '#000000',
  },
}
SCSS
$custom: #2f7010;
$custom-light: #709a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7010",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 100.625,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48382,
    "c": 0.14103,
    "h": 138.2
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#2F7010
secondary
#8234A8
accent
#36F2B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7010

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

Preview Lab → · Contrast checker → · Palette generator →

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