#2A5E22#2A5E22

#2A5E22 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.107 H 141.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2A5E22
RGBrgb(42, 94, 34)
HSLhsl(112, 47%, 25%)
HSVhsv(112, 64%, 37%)
CMYKcmyk(55.3%, 0%, 63.8%, 63.1%)
CIE-LABlab(35.23, -30.44, 28.60)
CIE-LCHlch(35.23, 41.77, 136.78°)
OKLaboklab(43.14% -0.0832 0.0672)
OKLCHoklch(43.14% 0.107 141.1)
XYZxyz(5.2460, 8.6127, 2.8990)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E22 #56225E
analogous
#485E22 #2A5E22 #225E38
triadic
#2A5E22 #222A5E #5E222A
tetradic
#2A5E22 #22485E #56225E #5E3822
square
#2A5E22 #22485E #56225E #5E3822
split-complementary
#2A5E22 #38225E #5E2248
monochromatic
#0A1608 #163112 #2A5E22 #3E8B32 #52B843

Accessibility & contrast

On white

7.71
#2A5E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2A5E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E22
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E22#FFFFFF#000000##FFFFFF
##2A5E221.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561C
Deuteranopia (green-blind)
#5A5127
Tritanopia (blue-blind)
#245B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5e22;
/* rgb */ color: rgb(42, 94, 34);
/* oklch */ color: oklch(43.1% 0.107 141.1);
Tailwind
colors: {
  custom: {
    50: '#698c5f',
    500: '#2a5e22',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e22;
$custom-light: #698c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e22",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 112,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43139,
    "c": 0.10691,
    "h": 141.1
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#2A5E22
secondary
#884A92
accent
#51D7C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2A5E22

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

Preview Lab → · Contrast checker → · Palette generator →

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