#2F661C#2F661C

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

Color values

HEX#2F661C
RGBrgb(47, 102, 28)
HSLhsl(105, 57%, 25%)
HSVhsv(105, 73%, 40%)
CMYKcmyk(53.9%, 0%, 72.5%, 60%)
CIE-LABlab(38.18, -33.00, 34.79)
CIE-LCHlch(38.18, 47.95, 133.48°)
OKLaboklab(45.61% -0.0909 0.0795)
OKLCHoklch(45.61% 0.121 138.8)
XYZxyz(6.1330, 10.1905, 2.7422)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F661C #531C66
analogous
#54661C #2F661C #1C662E
triadic
#2F661C #1C2F66 #661C2F
tetradic
#2F661C #1C5466 #531C66 #662E1C
square
#2F661C #1C5466 #531C66 #662E1C
split-complementary
#2F661C #2E1C66 #661C54
monochromatic
#0B1807 #19360F #2F661C #459629 #5BC636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F661C#FFFFFF#000000##FFFFFF
##2F661C1.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)
#695D11
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#2A6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f661c;
/* rgb */ color: rgb(47, 102, 28);
/* oklch */ color: oklch(45.6% 0.121 138.8);
Tailwind
colors: {
  custom: {
    50: '#6e925d',
    500: '#2f661c',
    950: '#000000',
  },
}
SCSS
$custom: #2f661c;
$custom-light: #6e925d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f661c",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 104.595,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45608,
    "c": 0.12075,
    "h": 138.8
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#2F661C
secondary
#84439B
accent
#48E0B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2F661C

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

Preview Lab → · Contrast checker → · Palette generator →

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