#2A5D11#2A5D11

#2A5D11 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.119 H 137.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2A5D11
RGBrgb(42, 93, 17)
HSLhsl(100, 69%, 22%)
HSVhsv(100, 82%, 36%)
CMYKcmyk(54.8%, 0%, 81.7%, 63.5%)
CIE-LABlab(34.72, -31.66, 35.74)
CIE-LCHlch(34.72, 47.75, 131.54°)
OKLaboklab(42.68% -0.0877 0.0799)
OKLCHoklch(42.68% 0.119 137.7)
XYZxyz(4.9702, 8.3610, 1.8821)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D11 #44115D
analogous
#505D11 #2A5D11 #115D1E
triadic
#2A5D11 #112A5D #5D112A
tetradic
#2A5D11 #11505D #44115D #5D1E11
square
#2A5D11 #11505D #44115D #5D1E11
split-complementary
#2A5D11 #1E115D #5D1150
monochromatic
#0C1A05 #132908 #2A5D11 #41911A #59C424

Accessibility & contrast

On white

7.86
#2A5D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A5D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5D11
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D11#FFFFFF#000000##FFFFFF
##2A5D111.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#26594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5d11;
/* rgb */ color: rgb(42, 93, 17);
/* oklch */ color: oklch(42.7% 0.119 137.7);
Tailwind
colors: {
  custom: {
    50: '#6a8b56',
    500: '#2a5d11',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d11;
$custom-light: #6a8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d11",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 100.263,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.11863,
    "h": 137.7
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#2A5D11
secondary
#763496
accent
#3CECB2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5D11

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

Preview Lab → · Contrast checker → · Palette generator →

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