#2A671E#2A671E

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

Color values

HEX#2A671E
RGBrgb(42, 103, 30)
HSLhsl(110, 55%, 26%)
HSVhsv(110, 71%, 40%)
CMYKcmyk(59.2%, 0%, 70.9%, 59.6%)
CIE-LABlab(38.35, -34.75, 34.01)
CIE-LCHlch(38.35, 48.63, 135.62°)
OKLaboklab(45.7% -0.0951 0.0782)
OKLCHoklch(45.7% 0.123 140.6)
XYZxyz(6.0392, 10.2860, 2.8952)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A671E #5B1E67
analogous
#4E671E #2A671E #1E6736
triadic
#2A671E #1E2A67 #671E2A
tetradic
#2A671E #1E4E67 #5B1E67 #67361E
square
#2A671E #1E4E67 #5B1E67 #67361E
split-complementary
#2A671E #361E67 #671E4E
monochromatic
#0A1807 #173810 #2A671E #3D962C #51C63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A671E#FFFFFF#000000##FFFFFF
##2A671E1.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)
#6A5D14
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a671e;
/* rgb */ color: rgb(42, 103, 30);
/* oklch */ color: oklch(45.7% 0.123 140.6);
Tailwind
colors: {
  custom: {
    50: '#6b935e',
    500: '#2a671e',
    950: '#000000',
  },
}
SCSS
$custom: #2a671e;
$custom-light: #6b935e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a671e",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 110.137,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.12315,
    "h": 140.6
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#2A671E
secondary
#8D459C
accent
#4ADEC6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2A671E

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

Preview Lab → · Contrast checker → · Palette generator →

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