#2F661A#2F661A

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

Color values

HEX#2F661A
RGBrgb(47, 102, 26)
HSLhsl(103, 59%, 25%)
HSVhsv(103, 75%, 40%)
CMYKcmyk(53.9%, 0%, 74.5%, 60%)
CIE-LABlab(38.17, -33.18, 35.65)
CIE-LCHlch(38.17, 48.70, 132.95°)
OKLaboklab(45.59% -0.0915 0.081)
OKLCHoklch(45.59% 0.122 138.5)
XYZxyz(6.1099, 10.1812, 2.6203)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F661A #511A66
analogous
#55661A #2F661A #1A662B
triadic
#2F661A #1A2F66 #661A2F
tetradic
#2F661A #1A5566 #511A66 #662B1A
square
#2F661A #1A5566 #511A66 #662B1A
split-complementary
#2F661A #2B1A66 #661A55
monochromatic
#0B1806 #19350E #2F661A #459726 #5CC833

Accessibility & contrast

On white

6.92
#2F661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F661A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F661A#FFFFFF#000000##FFFFFF
##2F661A1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f661a;
/* rgb */ color: rgb(47, 102, 26);
/* oklch */ color: oklch(45.6% 0.122 138.5);
Tailwind
colors: {
  custom: {
    50: '#6e925b',
    500: '#2f661a',
    950: '#000000',
  },
}
SCSS
$custom: #2f661a;
$custom-light: #6e925b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f661a",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 103.421,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45589,
    "c": 0.12221,
    "h": 138.5
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#2F661A
secondary
#82409C
accent
#45E3B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2F661A

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

Preview Lab → · Contrast checker → · Palette generator →

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