#2F661B#2F661B

#2F661B is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.121 H 138.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2F661B
RGBrgb(47, 102, 27)
HSLhsl(104, 58%, 25%)
HSVhsv(104, 74%, 40%)
CMYKcmyk(53.9%, 0%, 73.5%, 60%)
CIE-LABlab(38.17, -33.09, 35.22)
CIE-LCHlch(38.17, 48.33, 133.21°)
OKLaboklab(45.6% -0.0912 0.0803)
OKLCHoklch(45.6% 0.121 138.7)
XYZxyz(6.1213, 10.1858, 2.6802)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F661B #521B66
analogous
#54661B #2F661B #1B662C
triadic
#2F661B #1B2F66 #661B2F
tetradic
#2F661B #1B5466 #521B66 #662C1B
square
#2F661B #1B5466 #521B66 #662C1B
split-complementary
#2F661B #2C1B66 #661B54
monochromatic
#0B1806 #19360E #2F661B #459628 #5CC735

Accessibility & contrast

On white

6.91
#2F661B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F661B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F661B#FFFFFF#000000##FFFFFF
##2F661B1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D10
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#2A6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f661b;
/* rgb */ color: rgb(47, 102, 27);
/* oklch */ color: oklch(45.6% 0.121 138.7);
Tailwind
colors: {
  custom: {
    50: '#6e925c',
    500: '#2f661b',
    950: '#000000',
  },
}
SCSS
$custom: #2f661b;
$custom-light: #6e925c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f661b",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 104,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45598,
    "c": 0.12149,
    "h": 138.7
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#2F661B
secondary
#83419B
accent
#46E1B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2F661B

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

Preview Lab → · Contrast checker → · Palette generator →

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