#2F671A#2F671A

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

Color values

HEX#2F671A
RGBrgb(47, 103, 26)
HSLhsl(104, 60%, 25%)
HSVhsv(104, 75%, 40%)
CMYKcmyk(54.4%, 0%, 74.8%, 59.6%)
CIE-LABlab(38.51, -33.61, 36.01)
CIE-LCHlch(38.51, 49.25, 133.02°)
OKLaboklab(45.88% -0.0927 0.0818)
OKLCHoklch(45.88% 0.124 138.6)
XYZxyz(6.2088, 10.3789, 2.6532)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F671A #521A67
analogous
#56671A #2F671A #1A672B
triadic
#2F671A #1A2F67 #671A2F
tetradic
#2F671A #1A5667 #521A67 #672B1A
square
#2F671A #1A5667 #521A67 #672B1A
split-complementary
#2F671A #2B1A67 #671A56
monochromatic
#0B1806 #19360E #2F671A #459826 #5CC933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F671A#FFFFFF#000000##FFFFFF
##2F671A1.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)
#6A5E0E
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#2A6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f671a;
/* rgb */ color: rgb(47, 103, 26);
/* oklch */ color: oklch(45.9% 0.124 138.6);
Tailwind
colors: {
  custom: {
    50: '#6e935c',
    500: '#2f671a',
    950: '#000000',
  },
}
SCSS
$custom: #2f671a;
$custom-light: #6e935c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f671a",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 103.636,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45876,
    "c": 0.12358,
    "h": 138.6
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#2F671A
secondary
#83409D
accent
#45E3B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F671A

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

Preview Lab → · Contrast checker → · Palette generator →

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