#2A581E#2A581E

#2A581E is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.102 H 139.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2A581E
RGBrgb(42, 88, 30)
HSLhsl(108, 49%, 23%)
HSVhsv(108, 66%, 35%)
CMYKcmyk(52.3%, 0%, 65.9%, 65.5%)
CIE-LABlab(33.06, -28.22, 28.19)
CIE-LCHlch(33.06, 39.89, 135.03°)
OKLaboklab(41.34% -0.0774 0.0658)
OKLCHoklch(41.34% 0.102 139.6)
XYZxyz(4.6787, 7.5651, 2.4417)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A581E #4C1E58
analogous
#47581E #2A581E #1E582F
triadic
#2A581E #1E2A58 #581E2A
tetradic
#2A581E #1E4758 #4C1E58 #582F1E
square
#2A581E #1E4758 #4C1E58 #582F1E
split-complementary
#2A581E #2F1E58 #581E47
monochromatic
#0B1708 #142A0E #2A581E #40862E #56B33D

Accessibility & contrast

On white

8.36
#2A581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A581E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A581E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A581E#FFFFFF#000000##FFFFFF
##2A581E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5018
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#26554C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a581e;
/* rgb */ color: rgb(42, 88, 30);
/* oklch */ color: oklch(41.3% 0.102 139.6);
Tailwind
colors: {
  custom: {
    50: '#68875c',
    500: '#2a581e',
    950: '#000000',
  },
}
SCSS
$custom: #2a581e;
$custom-light: #68875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a581e",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 107.586,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.10164,
    "h": 139.6
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#2A581E
secondary
#7E458D
accent
#4FD9BC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A581E

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

Preview Lab → · Contrast checker → · Palette generator →

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