#2A583F#2A583F

#2A583F is a dark, moderate green. Relative luminance 0.078; OKLCH L 42.0% C 0.066 H 158.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2A583F
RGBrgb(42, 88, 63)
HSLhsl(147, 35%, 25%)
HSVhsv(147, 52%, 35%)
CMYKcmyk(52.3%, 0%, 28.4%, 65.5%)
CIE-LABlab(33.63, -22.39, 9.75)
CIE-LCHlch(33.63, 24.42, 156.48°)
OKLaboklab(41.99% -0.0615 0.0249)
OKLCHoklch(41.99% 0.066 158)
XYZxyz(5.3414, 7.8301, 5.9316)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A583F #582A43
analogous
#2C582A #2A583F #2A5856
triadic
#2A583F #3F2A58 #583F2A
tetradic
#2A583F #2A2C58 #582A43 #58562A
square
#2A583F #2A2C58 #582A43 #58562A
split-complementary
#2A583F #562A58 #582A2C
monochromatic
#0A150F #162F21 #2A583F #3E815D #52AB7A

Accessibility & contrast

On white

8.18
#2A583F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A583F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A583F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A583F#FFFFFF#000000##FFFFFF
##2A583F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523E
Deuteranopia (green-blind)
#504D41
Tritanopia (blue-blind)
#1E5751
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a583f;
/* rgb */ color: rgb(42, 88, 63);
/* oklch */ color: oklch(42.0% 0.066 158.0);
Tailwind
colors: {
  custom: {
    50: '#678774',
    500: '#2a583f',
    950: '#000000',
  },
}
SCSS
$custom: #2a583f;
$custom-light: #678774;
$custom-dark: #000000;
JSON
{
  "hex": "#2a583f",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 63
  },
  "hsl": {
    "h": 147.391,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.06632,
    "h": 158
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#2A583F
secondary
#8A5371
accent
#5C99CB
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #2A583F

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

Preview Lab → · Contrast checker → · Palette generator →

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