#2A641B#2A641B

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

Color values

HEX#2A641B
RGBrgb(42, 100, 27)
HSLhsl(108, 57%, 25%)
HSVhsv(108, 73%, 39%)
CMYKcmyk(58%, 0%, 73%, 60.8%)
CIE-LABlab(37.27, -33.80, 34.22)
CIE-LCHlch(37.27, 48.09, 134.65°)
OKLaboklab(44.8% -0.0928 0.0782)
OKLCHoklch(44.8% 0.121 139.9)
XYZxyz(5.7096, 9.6852, 2.6053)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A641B #551B64
analogous
#4F641B #2A641B #1B6430
triadic
#2A641B #1B2A64 #641B2A
tetradic
#2A641B #1B4F64 #551B64 #64301B
square
#2A641B #1B4F64 #551B64 #64301B
split-complementary
#2A641B #301B64 #641B4F
monochromatic
#0A1807 #16340E #2A641B #3E9428 #52C435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A641B#FFFFFF#000000##FFFFFF
##2A641B1.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)
#675B10
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#246155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a641b;
/* rgb */ color: rgb(42, 100, 27);
/* oklch */ color: oklch(44.8% 0.121 139.9);
Tailwind
colors: {
  custom: {
    50: '#6a915c',
    500: '#2a641b',
    950: '#000000',
  },
}
SCSS
$custom: #2a641b;
$custom-light: #6a915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a641b",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 107.671,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.12133,
    "h": 139.9
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#2A641B
secondary
#874199
accent
#47E1C1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2A641B

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

Preview Lab → · Contrast checker → · Palette generator →

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