#2F6719#2F6719

#2F6719 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.124 H 138.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2F6719
RGBrgb(47, 103, 25)
HSLhsl(103, 61%, 25%)
HSVhsv(103, 76%, 40%)
CMYKcmyk(54.4%, 0%, 75.7%, 59.6%)
CIE-LABlab(38.51, -33.69, 36.42)
CIE-LCHlch(38.51, 49.61, 132.77°)
OKLaboklab(45.87% -0.093 0.0825)
OKLCHoklch(45.87% 0.124 138.4)
XYZxyz(6.1978, 10.3746, 2.5954)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6719 #511967
analogous
#566719 #2F6719 #19672A
triadic
#2F6719 #192F67 #67192F
tetradic
#2F6719 #195667 #511967 #672A19
square
#2F6719 #195667 #511967 #672A19
split-complementary
#2F6719 #2A1967 #671956
monochromatic
#0B1906 #19360D #2F6719 #459825 #5CC931

Accessibility & contrast

On white

6.83
#2F6719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F6719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6719
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6719#FFFFFF#000000##FFFFFF
##2F67191.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0C
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#2A6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6719;
/* rgb */ color: rgb(47, 103, 25);
/* oklch */ color: oklch(45.9% 0.124 138.4);
Tailwind
colors: {
  custom: {
    50: '#6e935b',
    500: '#2f6719',
    950: '#000000',
  },
}
SCSS
$custom: #2f6719;
$custom-light: #6e935b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6719",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 103.077,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.12428,
    "h": 138.4
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#2F6719
secondary
#823F9D
accent
#44E4B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6719

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

Preview Lab → · Contrast checker → · Palette generator →

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