#2D671B#2D671B

#2D671B is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.124 H 139.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2D671B
RGBrgb(45, 103, 27)
HSLhsl(106, 58%, 25%)
HSVhsv(106, 74%, 40%)
CMYKcmyk(56.3%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.44, -34.14, 35.48)
CIE-LCHlch(38.44, 49.24, 133.90°)
OKLaboklab(45.8% -0.0939 0.0808)
OKLCHoklch(45.8% 0.124 139.3)
XYZxyz(6.1300, 10.3370, 2.7089)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D671B #551B67
analogous
#53671B #2D671B #1B672F
triadic
#2D671B #1B2D67 #671B2D
tetradic
#2D671B #1B5367 #551B67 #672F1B
square
#2D671B #1B5367 #551B67 #672F1B
split-complementary
#2D671B #2F1B67 #671B53
monochromatic
#0B1806 #18370E #2D671B #429728 #57C834

Accessibility & contrast

On white

6.85
#2D671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D671B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D671B#FFFFFF#000000##FFFFFF
##2D671B1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0F
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#276358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d671b;
/* rgb */ color: rgb(45, 103, 27);
/* oklch */ color: oklch(45.8% 0.124 139.3);
Tailwind
colors: {
  custom: {
    50: '#6d935c',
    500: '#2d671b',
    950: '#000000',
  },
}
SCSS
$custom: #2d671b;
$custom-light: #6d935c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d671b",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 105.789,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45795,
    "c": 0.12389,
    "h": 139.3
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#2D671B
secondary
#87429C
accent
#46E2BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D671B

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

Preview Lab → · Contrast checker → · Palette generator →

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