#2A531E#2A531E

#2A531E is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.094 H 139.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2A531E
RGBrgb(42, 83, 30)
HSLhsl(106, 47%, 22%)
HSVhsv(106, 64%, 33%)
CMYKcmyk(49.4%, 0%, 63.9%, 67.5%)
CIE-LABlab(31.28, -25.89, 26.16)
CIE-LCHlch(31.28, 36.80, 134.70°)
OKLaboklab(39.89% -0.0711 0.0615)
OKLCHoklch(39.89% 0.094 139.1)
XYZxyz(4.2823, 6.7722, 2.3096)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A531E #471E53
analogous
#45531E #2A531E #1E532D
triadic
#2A531E #1E2A53 #531E2A
tetradic
#2A531E #1E4553 #471E53 #532D1E
square
#2A531E #1E4553 #471E53 #532D1E
split-complementary
#2A531E #2D1E53 #531E45
monochromatic
#0B1608 #13260E #2A531E #41802E #57AD3E

Accessibility & contrast

On white

8.92
#2A531E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A531E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A531E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A531E#FFFFFF#000000##FFFFFF
##2A531E1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C18
Deuteranopia (green-blind)
#504822
Tritanopia (blue-blind)
#275047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a531e;
/* rgb */ color: rgb(42, 83, 30);
/* oklch */ color: oklch(39.9% 0.094 139.1);
Tailwind
colors: {
  custom: {
    50: '#67845c',
    500: '#2a531e',
    950: '#000000',
  },
}
SCSS
$custom: #2a531e;
$custom-light: #67845c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a531e",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 30
  },
  "hsl": {
    "h": 106.415,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39887,
    "c": 0.09399,
    "h": 139.1
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#2A531E
secondary
#794588
accent
#51D7B8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A531E

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

Preview Lab → · Contrast checker → · Palette generator →

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