#2A582D#2A582D

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

Color values

HEX#2A582D
RGBrgb(42, 88, 45)
HSLhsl(124, 35%, 25%)
HSVhsv(124, 52%, 35%)
CMYKcmyk(52.3%, 0%, 48.9%, 65.5%)
CIE-LABlab(33.27, -26.04, 20.15)
CIE-LCHlch(33.27, 32.92, 142.26°)
OKLaboklab(41.58% -0.0707 0.0493)
OKLCHoklch(41.58% 0.086 145.1)
XYZxyz(4.9180, 7.6608, 3.7016)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A582D #582A55
analogous
#3E582A #2A582D #2A5844
triadic
#2A582D #2D2A58 #582D2A
tetradic
#2A582D #2A3E58 #582A55 #58442A
square
#2A582D #2A3E58 #582A55 #58442A
split-complementary
#2A582D #442A58 #582A3E
monochromatic
#0A150B #162F18 #2A582D #3E8142 #52AB57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A582D#FFFFFF#000000##FFFFFF
##2A582D1.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)
#59512A
Deuteranopia (green-blind)
#534D30
Tritanopia (blue-blind)
#23564E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a582d;
/* rgb */ color: rgb(42, 88, 45);
/* oklch */ color: oklch(41.6% 0.086 145.1);
Tailwind
colors: {
  custom: {
    50: '#678766',
    500: '#2a582d',
    950: '#000000',
  },
}
SCSS
$custom: #2a582d;
$custom-light: #678766;
$custom-dark: #000000;
JSON
{
  "hex": "#2a582d",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 45
  },
  "hsl": {
    "h": 123.913,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4158,
    "c": 0.08622,
    "h": 145.1
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#2A582D
secondary
#8A5387
accent
#5CC4CB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A582D

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

Preview Lab → · Contrast checker → · Palette generator →

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