#2A592F#2A592F

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

Color values

HEX#2A592F
RGBrgb(42, 89, 47)
HSLhsl(126, 36%, 26%)
HSVhsv(126, 53%, 35%)
CMYKcmyk(52.8%, 0%, 47.2%, 65.1%)
CIE-LABlab(33.65, -26.17, 19.47)
CIE-LCHlch(33.65, 32.62, 143.35°)
OKLaboklab(41.91% -0.0711 0.0478)
OKLCHoklch(41.91% 0.086 146.1)
XYZxyz(5.0400, 7.8419, 3.9368)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A592F #592A54
analogous
#3C592A #2A592F #2A5946
triadic
#2A592F #2F2A59 #592F2A
tetradic
#2A592F #2A3C59 #592A54 #59462A
square
#2A592F #2A3C59 #592A54 #59462A
split-complementary
#2A592F #462A59 #592A3C
monochromatic
#0A150B #162F19 #2A592F #3E8345 #51AC5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A592F#FFFFFF#000000##FFFFFF
##2A592F1.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)
#5A522C
Deuteranopia (green-blind)
#544D32
Tritanopia (blue-blind)
#22574F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a592f;
/* rgb */ color: rgb(42, 89, 47);
/* oklch */ color: oklch(41.9% 0.086 146.1);
Tailwind
colors: {
  custom: {
    50: '#678868',
    500: '#2a592f',
    950: '#000000',
  },
}
SCSS
$custom: #2a592f;
$custom-light: #678868;
$custom-dark: #000000;
JSON
{
  "hex": "#2a592f",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 47
  },
  "hsl": {
    "h": 126.383,
    "s": 35.878,
    "l": 25.686
  },
  "oklch": {
    "l": 0.41906,
    "c": 0.08565,
    "h": 146.1
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#2A592F
secondary
#8B5385
accent
#5CC0CC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2A592F

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

Preview Lab → · Contrast checker → · Palette generator →

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