#1A5111#1A5111

#1A5111 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.110 H 141.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1A5111
RGBrgb(26, 81, 17)
HSLhsl(112, 65%, 19%)
HSVhsv(112, 79%, 32%)
CMYKcmyk(67.9%, 0%, 79%, 68.2%)
CIE-LABlab(29.77, -31.44, 30.62)
CIE-LCHlch(29.77, 43.89, 135.76°)
OKLaboklab(38.42% -0.0859 0.0694)
OKLCHoklch(38.42% 0.11 141.1)
XYZxyz(3.4694, 6.1446, 1.5334)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5111 #481151
analogous
#3A5111 #1A5111 #115128
triadic
#1A5111 #111A51 #51111A
tetradic
#1A5111 #113A51 #481151 #512811
square
#1A5111 #113A51 #481151 #512811
split-complementary
#1A5111 #281151 #51113A
monochromatic
#081905 #0A1E06 #1A5111 #2A841C #3AB626

Accessibility & contrast

On white

9.42
#1A5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1A5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5111
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5111#FFFFFF#000000##FFFFFF
##1A51111.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#4D4417
Tritanopia (blue-blind)
#114E44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a5111;
/* rgb */ color: rgb(26, 81, 17);
/* oklch */ color: oklch(38.4% 0.110 141.1);
Tailwind
colors: {
  custom: {
    50: '#5f8254',
    500: '#1a5111',
    950: '#000000',
  },
}
SCSS
$custom: #1a5111;
$custom-light: #5f8254;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5111",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 111.563,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.11046,
    "h": 141.1
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#1A5111
secondary
#7E348A
accent
#40E8D1
background
#F5F8F4
surface
#EAEFE8
border
#C6CAC4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1A5111

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

Preview Lab → · Contrast checker → · Palette generator →

#1A5111 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva