#2A671A#2A671A

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

Color values

HEX#2A671A
RGBrgb(42, 103, 26)
HSLhsl(108, 60%, 25%)
HSVhsv(108, 75%, 40%)
CMYKcmyk(59.2%, 0%, 74.8%, 59.6%)
CIE-LABlab(38.32, -35.14, 35.74)
CIE-LCHlch(38.32, 50.12, 134.51°)
OKLaboklab(45.66% -0.0964 0.0813)
OKLCHoklch(45.66% 0.126 139.9)
XYZxyz(5.9913, 10.2668, 2.6431)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A671A #571A67
analogous
#51671A #2A671A #1A6730
triadic
#2A671A #1A2A67 #671A2A
tetradic
#2A671A #1A5167 #571A67 #67301A
square
#2A671A #1A5167 #571A67 #67301A
split-complementary
#2A671A #301A67 #671A51
monochromatic
#0A1806 #16360E #2A671A #3E9826 #52C933

Accessibility & contrast

On white

6.88
#2A671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2A671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A671A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A671A#FFFFFF#000000##FFFFFF
##2A671A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0E
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#236358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a671a;
/* rgb */ color: rgb(42, 103, 26);
/* oklch */ color: oklch(45.7% 0.126 139.9);
Tailwind
colors: {
  custom: {
    50: '#6b935c',
    500: '#2a671a',
    950: '#000000',
  },
}
SCSS
$custom: #2a671a;
$custom-light: #6b935c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a671a",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 107.532,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.12612,
    "h": 139.9
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#2A671A
secondary
#89409D
accent
#45E3C2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A671A

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

Preview Lab → · Contrast checker → · Palette generator →

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