#2A671C#2A671C

#2A671C is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.125 H 140.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2A671C
RGBrgb(42, 103, 28)
HSLhsl(109, 57%, 26%)
HSVhsv(109, 73%, 40%)
CMYKcmyk(59.2%, 0%, 72.8%, 59.6%)
CIE-LABlab(38.33, -34.95, 34.89)
CIE-LCHlch(38.33, 49.39, 135.05°)
OKLaboklab(45.68% -0.0958 0.0798)
OKLCHoklch(45.68% 0.125 140.2)
XYZxyz(6.0144, 10.2761, 2.7649)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A671C #591C67
analogous
#4F671C #2A671C #1C6733
triadic
#2A671C #1C2A67 #671C2A
tetradic
#2A671C #1C4F67 #591C67 #67331C
square
#2A671C #1C4F67 #591C67 #67331C
split-complementary
#2A671C #331C67 #671C4F
monochromatic
#0A1807 #16370F #2A671C #3E9729 #51C736

Accessibility & contrast

On white

6.87
#2A671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2A671C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A671C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A671C#FFFFFF#000000##FFFFFF
##2A671C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D11
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#236458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a671c;
/* rgb */ color: rgb(42, 103, 28);
/* oklch */ color: oklch(45.7% 0.125 140.2);
Tailwind
colors: {
  custom: {
    50: '#6b935d',
    500: '#2a671c',
    950: '#000000',
  },
}
SCSS
$custom: #2a671c;
$custom-light: #6b935d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a671c",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 108.8,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45677,
    "c": 0.12467,
    "h": 140.2
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#2A671C
secondary
#8B439C
accent
#47E1C4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A671C

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

Preview Lab → · Contrast checker → · Palette generator →

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