#2A582E#2A582E

#2A582E is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.085 H 145.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2A582E
RGBrgb(42, 88, 46)
HSLhsl(125, 35%, 25%)
HSVhsv(125, 52%, 35%)
CMYKcmyk(52.3%, 0%, 47.7%, 65.5%)
CIE-LABlab(33.28, -25.86, 19.59)
CIE-LCHlch(33.28, 32.44, 142.86°)
OKLaboklab(41.6% -0.0703 0.048)
OKLCHoklch(41.6% 0.085 145.6)
XYZxyz(4.9374, 7.6686, 3.8042)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A582E #582A54
analogous
#3D582A #2A582E #2A5845
triadic
#2A582E #2E2A58 #582E2A
tetradic
#2A582E #2A3D58 #582A54 #58452A
square
#2A582E #2A3D58 #582A54 #58452A
split-complementary
#2A582E #452A58 #582A3D
monochromatic
#0A150B #162F18 #2A582E #3E8144 #52AB59

Accessibility & contrast

On white

8.29
#2A582E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A582E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A582E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A582E#FFFFFF#000000##FFFFFF
##2A582E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512B
Deuteranopia (green-blind)
#534D31
Tritanopia (blue-blind)
#23564E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a582e;
/* rgb */ color: rgb(42, 88, 46);
/* oklch */ color: oklch(41.6% 0.085 145.6);
Tailwind
colors: {
  custom: {
    50: '#678767',
    500: '#2a582e',
    950: '#000000',
  },
}
SCSS
$custom: #2a582e;
$custom-light: #678767;
$custom-dark: #000000;
JSON
{
  "hex": "#2a582e",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 46
  },
  "hsl": {
    "h": 125.217,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41599,
    "c": 0.08511,
    "h": 145.6
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#2A582E
secondary
#8A5386
accent
#5CC2CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A582E

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

Preview Lab → · Contrast checker → · Palette generator →

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