#2F7F10#2F7F10

#2F7F10 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.159 H 139.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F7F10
RGBrgb(47, 127, 16)
HSLhsl(103, 78%, 28%)
HSVhsv(103, 87%, 50%)
CMYKcmyk(63%, 0%, 87.4%, 50.2%)
CIE-LABlab(46.74, -43.75, 47.25)
CIE-LCHlch(46.74, 64.40, 132.80°)
OKLaboklab(52.65% -0.1205 0.1038)
OKLCHoklch(52.65% 0.159 139.3)
XYZxyz(8.8548, 15.8197, 3.0770)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F10 #60107F
analogous
#667F10 #2F7F10 #107F28
triadic
#2F7F10 #102F7F #7F102F
tetradic
#2F7F10 #10667F #60107F #7F2810
square
#2F7F10 #10667F #60107F #7F2810
split-complementary
#2F7F10 #28107F #7F1066
monochromatic
#0A1B03 #1B4909 #2F7F10 #43B517 #5BE426

Accessibility & contrast

On white

5.04
#2F7F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2F7F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F10
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F10#FFFFFF#000000##FFFFFF
##2F7F101.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#257A6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7f10;
/* rgb */ color: rgb(47, 127, 16);
/* oklch */ color: oklch(52.6% 0.159 139.3);
Tailwind
colors: {
  custom: {
    50: '#73a55b',
    500: '#2f7f10',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f10;
$custom-light: #73a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f10",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 103.243,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.15906,
    "h": 139.3
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#2F7F10
secondary
#9236B5
accent
#34F4BE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7F10

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

Preview Lab → · Contrast checker → · Palette generator →

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