#2D671C#2D671C

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

Color values

HEX#2D671C
RGBrgb(45, 103, 28)
HSLhsl(106, 57%, 26%)
HSVhsv(106, 73%, 40%)
CMYKcmyk(56.3%, 0%, 72.8%, 59.6%)
CIE-LABlab(38.45, -34.05, 35.05)
CIE-LCHlch(38.45, 48.87, 134.17°)
OKLaboklab(45.81% -0.0936 0.0801)
OKLCHoklch(45.81% 0.123 139.5)
XYZxyz(6.1418, 10.3417, 2.7709)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D671C #561C67
analogous
#52671C #2D671C #1C6730
triadic
#2D671C #1C2D67 #671C2D
tetradic
#2D671C #1C5267 #561C67 #67301C
square
#2D671C #1C5267 #561C67 #67301C
split-complementary
#2D671C #301C67 #671C52
monochromatic
#0B1807 #18370F #2D671C #429729 #57C736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D671C#FFFFFF#000000##FFFFFF
##2D671C1.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)
#6A5E11
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#276358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d671c;
/* rgb */ color: rgb(45, 103, 28);
/* oklch */ color: oklch(45.8% 0.123 139.5);
Tailwind
colors: {
  custom: {
    50: '#6d935d',
    500: '#2d671c',
    950: '#000000',
  },
}
SCSS
$custom: #2d671c;
$custom-light: #6d935d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d671c",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 106.4,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.12316,
    "h": 139.5
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#2D671C
secondary
#88439C
accent
#47E1BE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D671C

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

Preview Lab → · Contrast checker → · Palette generator →

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