#2A511E#2A511E

#2A511E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.091 H 138.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2A511E
RGBrgb(42, 81, 30)
HSLhsl(106, 46%, 22%)
HSVhsv(106, 63%, 32%)
CMYKcmyk(48.1%, 0%, 63%, 68.2%)
CIE-LABlab(30.57, -24.93, 25.33)
CIE-LCHlch(30.57, 35.54, 134.54°)
OKLaboklab(39.3% -0.0685 0.0597)
OKLCHoklch(39.3% 0.091 138.9)
XYZxyz(4.1315, 6.4706, 2.2593)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A511E #451E51
analogous
#44511E #2A511E #1E512C
triadic
#2A511E #1E2A51 #511E2A
tetradic
#2A511E #1E4451 #451E51 #512C1E
square
#2A511E #1E4451 #451E51 #512C1E
split-complementary
#2A511E #2C1E51 #511E44
monochromatic
#0C1608 #13240D #2A511E #417E2F #58AA3F

Accessibility & contrast

On white

9.15
#2A511E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2A511E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A511E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A511E#FFFFFF#000000##FFFFFF
##2A511E1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A19
Deuteranopia (green-blind)
#4E4722
Tritanopia (blue-blind)
#274E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a511e;
/* rgb */ color: rgb(42, 81, 30);
/* oklch */ color: oklch(39.3% 0.091 138.9);
Tailwind
colors: {
  custom: {
    50: '#67825c',
    500: '#2a511e',
    950: '#000000',
  },
}
SCSS
$custom: #2a511e;
$custom-light: #67825c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a511e",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 105.882,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.09085,
    "h": 138.9
  },
  "luminance": 0.06471
}

Semantic roles & 50–950 ramp

primary
#2A511E
secondary
#774586
accent
#52D6B7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2A511E

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

Preview Lab → · Contrast checker → · Palette generator →

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