#2D671F#2D671F

#2D671F is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.121 H 140.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2D671F
RGBrgb(45, 103, 31)
HSLhsl(108, 54%, 26%)
HSVhsv(108, 70%, 40%)
CMYKcmyk(56.3%, 0%, 69.9%, 59.6%)
CIE-LABlab(38.48, -33.76, 33.72)
CIE-LCHlch(38.48, 47.71, 135.03°)
OKLaboklab(45.84% -0.0926 0.0777)
OKLCHoklch(45.84% 0.121 140)
XYZxyz(6.1795, 10.3568, 2.9695)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D671F #591F67
analogous
#51671F #2D671F #1F6735
triadic
#2D671F #1F2D67 #671F2D
tetradic
#2D671F #1F5167 #591F67 #67351F
square
#2D671F #1F5167 #591F67 #67351F
split-complementary
#2D671F #351F67 #671F51
monochromatic
#0A1807 #183811 #2D671F #42962D #57C43C

Accessibility & contrast

On white

6.84
#2D671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2D671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D671F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D671F#FFFFFF#000000##FFFFFF
##2D671F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#625925
Tritanopia (blue-blind)
#276458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d671f;
/* rgb */ color: rgb(45, 103, 31);
/* oklch */ color: oklch(45.8% 0.121 140.0);
Tailwind
colors: {
  custom: {
    50: '#6c935e',
    500: '#2d671f',
    950: '#000000',
  },
}
SCSS
$custom: #2d671f;
$custom-light: #6c935e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d671f",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 108.333,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.12085,
    "h": 140
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#2D671F
secondary
#8B469B
accent
#4BDDC1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2D671F

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

Preview Lab → · Contrast checker → · Palette generator →

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