#2A5E20#2A5E20

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

Color values

HEX#2A5E20
RGBrgb(42, 94, 32)
HSLhsl(110, 49%, 25%)
HSVhsv(110, 66%, 37%)
CMYKcmyk(55.3%, 0%, 66%, 63.1%)
CIE-LABlab(35.21, -30.68, 29.59)
CIE-LCHlch(35.21, 42.63, 136.03°)
OKLaboklab(43.11% -0.084 0.0691)
OKLCHoklch(43.11% 0.109 140.6)
XYZxyz(5.2180, 8.6015, 2.7515)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E20 #54205E
analogous
#495E20 #2A5E20 #205E35
triadic
#2A5E20 #202A5E #5E202A
tetradic
#2A5E20 #20495E #54205E #5E3520
square
#2A5E20 #20495E #54205E #5E3520
split-complementary
#2A5E20 #35205E #5E2049
monochromatic
#0A1708 #163010 #2A5E20 #3E8C30 #53B93F

Accessibility & contrast

On white

7.72
#2A5E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5E20
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E20#FFFFFF#000000##FFFFFF
##2A5E201.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#5A5125
Tritanopia (blue-blind)
#245B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5e20;
/* rgb */ color: rgb(42, 94, 32);
/* oklch */ color: oklch(43.1% 0.109 140.6);
Tailwind
colors: {
  custom: {
    50: '#698c5e',
    500: '#2a5e20',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e20;
$custom-light: #698c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e20",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 32
  },
  "hsl": {
    "h": 110.323,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.10873,
    "h": 140.6
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#2A5E20
secondary
#864792
accent
#4FD9C3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A5E20

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

Preview Lab → · Contrast checker → · Palette generator →

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