#2A5C11#2A5C11

#2A5C11 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.117 H 137.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2A5C11
RGBrgb(42, 92, 17)
HSLhsl(100, 69%, 21%)
HSVhsv(100, 82%, 36%)
CMYKcmyk(54.3%, 0%, 81.5%, 63.9%)
CIE-LABlab(34.37, -31.23, 35.40)
CIE-LCHlch(34.37, 47.21, 131.42°)
OKLaboklab(42.38% -0.0865 0.0792)
OKLCHoklch(42.38% 0.117 137.6)
XYZxyz(4.8830, 8.1866, 1.8531)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C11 #43115C
analogous
#505C11 #2A5C11 #115C1E
triadic
#2A5C11 #112A5C #5C112A
tetradic
#2A5C11 #11505C #43115C #5C1E11
square
#2A5C11 #11505C #43115C #5C1E11
split-complementary
#2A5C11 #1E115C #5C1150
monochromatic
#0C1A05 #122807 #2A5C11 #42901B #59C324

Accessibility & contrast

On white

7.96
#2A5C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A5C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C11
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C11#FFFFFF#000000##FFFFFF
##2A5C111.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5302
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#27584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5c11;
/* rgb */ color: rgb(42, 92, 17);
/* oklch */ color: oklch(42.4% 0.117 137.6);
Tailwind
colors: {
  custom: {
    50: '#6a8b55',
    500: '#2a5c11',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c11;
$custom-light: #6a8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c11",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 100,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.11728,
    "h": 137.6
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#2A5C11
secondary
#753495
accent
#3CECB1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5C11

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

Preview Lab → · Contrast checker → · Palette generator →

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