#2F8310#2F8310

#2F8310 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.164 H 139.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F8310
RGBrgb(47, 131, 16)
HSLhsl(104, 78%, 29%)
HSVhsv(104, 88%, 51%)
CMYKcmyk(64.1%, 0%, 87.8%, 48.6%)
CIE-LABlab(48.10, -45.22, 48.46)
CIE-LCHlch(48.10, 66.28, 133.02°)
OKLaboklab(53.77% -0.1245 0.1063)
OKLCHoklch(53.77% 0.164 139.5)
XYZxyz(9.3817, 16.8735, 3.2526)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8310 #641083
analogous
#698310 #2F8310 #10832B
triadic
#2F8310 #102F83 #83102F
tetradic
#2F8310 #106983 #641083 #832B10
square
#2F8310 #106983 #641083 #832B10
split-complementary
#2F8310 #2B1083 #831069
monochromatic
#0A1B03 #1B4C09 #2F8310 #43BA17 #5BE529

Accessibility & contrast

On white

4.80
#2F8310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2F8310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8310
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8310#FFFFFF#000000##FFFFFF
##2F83101.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#247E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8310;
/* rgb */ color: rgb(47, 131, 16);
/* oklch */ color: oklch(53.8% 0.164 139.5);
Tailwind
colors: {
  custom: {
    50: '#74a85c',
    500: '#2f8310',
    950: '#000000',
  },
}
SCSS
$custom: #2f8310;
$custom-light: #74a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8310",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 103.826,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.1637,
    "h": 139.5
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#2F8310
secondary
#9636B9
accent
#33F5C1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091004
muted
#7B7F79

Preview Lab

Preview with #2F8310

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

Preview Lab → · Contrast checker → · Palette generator →

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