#2A641C#2A641C

#2A641C is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.8% C 0.121 H 140.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2A641C
RGBrgb(42, 100, 28)
HSLhsl(108, 56%, 25%)
HSVhsv(108, 72%, 39%)
CMYKcmyk(58%, 0%, 72%, 60.8%)
CIE-LABlab(37.28, -33.70, 33.78)
CIE-LCHlch(37.28, 47.71, 134.93°)
OKLaboklab(44.81% -0.0924 0.0774)
OKLCHoklch(44.81% 0.121 140.1)
XYZxyz(5.7214, 9.6900, 2.6672)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A641C #561C64
analogous
#4E641C #2A641C #1C6432
triadic
#2A641C #1C2A64 #641C2A
tetradic
#2A641C #1C4E64 #561C64 #64321C
square
#2A641C #1C4E64 #561C64 #64321C
split-complementary
#2A641C #321C64 #641C4E
monochromatic
#0A1807 #16340F #2A641C #3E9429 #52C437

Accessibility & contrast

On white

7.15
#2A641C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2A641C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A641C
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A641C#FFFFFF#000000##FFFFFF
##2A641C1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B12
Deuteranopia (green-blind)
#5F5623
Tritanopia (blue-blind)
#236155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a641c;
/* rgb */ color: rgb(42, 100, 28);
/* oklch */ color: oklch(44.8% 0.121 140.1);
Tailwind
colors: {
  custom: {
    50: '#6a915c',
    500: '#2a641c',
    950: '#000000',
  },
}
SCSS
$custom: #2a641c;
$custom-light: #6a915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a641c",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 108.333,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.44809,
    "c": 0.12058,
    "h": 140.1
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#2A641C
secondary
#884399
accent
#48E0C2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2A641C

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

Preview Lab → · Contrast checker → · Palette generator →

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