#2A5E11#2A5E11

#2A5E11 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.120 H 137.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2A5E11
RGBrgb(42, 94, 17)
HSLhsl(101, 69%, 22%)
HSVhsv(101, 82%, 37%)
CMYKcmyk(55.3%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.08, -32.09, 36.09)
CIE-LCHlch(35.08, 48.29, 131.65°)
OKLaboklab(42.97% -0.0888 0.0806)
OKLCHoklch(42.97% 0.12 137.8)
XYZxyz(5.0586, 8.5377, 1.9116)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E11 #45115E
analogous
#515E11 #2A5E11 #115E1E
triadic
#2A5E11 #112A5E #5E112A
tetradic
#2A5E11 #11515E #45115E #5E1E11
square
#2A5E11 #11515E #45115E #5E1E11
split-complementary
#2A5E11 #1E115E #5E1151
monochromatic
#0C1A05 #132A08 #2A5E11 #41921A #58C624

Accessibility & contrast

On white

7.76
#2A5E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A5E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E11
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E11#FFFFFF#000000##FFFFFF
##2A5E111.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#265A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5e11;
/* rgb */ color: rgb(42, 94, 17);
/* oklch */ color: oklch(43.0% 0.120 137.8);
Tailwind
colors: {
  custom: {
    50: '#6a8c56',
    500: '#2a5e11',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e11;
$custom-light: #6a8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e11",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 100.519,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42969,
    "c": 0.11995,
    "h": 137.8
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#2A5E11
secondary
#773497
accent
#3CECB3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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