#1A5116#1A5116

#1A5116 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.107 H 142.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#1A5116
RGBrgb(26, 81, 22)
HSLhsl(116, 57%, 20%)
HSVhsv(116, 73%, 32%)
CMYKcmyk(67.9%, 0%, 72.8%, 68.2%)
CIE-LABlab(29.82, -30.94, 28.40)
CIE-LCHlch(29.82, 41.99, 137.45°)
OKLaboklab(38.47% -0.0843 0.0654)
OKLCHoklch(38.47% 0.107 142.2)
XYZxyz(3.5131, 6.1621, 1.7632)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5116 #4D1651
analogous
#385116 #1A5116 #16512F
triadic
#1A5116 #161A51 #51161A
tetradic
#1A5116 #163851 #4D1651 #512F16
square
#1A5116 #163851 #4D1651 #512F16
split-complementary
#1A5116 #2F1651 #511638
monochromatic
#081807 #0B2109 #1A5116 #298123 #39B130

Accessibility & contrast

On white

9.41
#1A5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A5116
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5116#FFFFFF#000000##FFFFFF
##1A51161.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#104E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a5116;
/* rgb */ color: rgb(26, 81, 22);
/* oklch */ color: oklch(38.5% 0.107 142.2);
Tailwind
colors: {
  custom: {
    50: '#5f8256',
    500: '#1a5116',
    950: '#000000',
  },
}
SCSS
$custom: #1a5116;
$custom-light: #5f8256;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5116",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 115.932,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38472,
    "c": 0.10669,
    "h": 142.2
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#1A5116
secondary
#833A88
accent
#47E1D6
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1A5116

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

Preview Lab → · Contrast checker → · Palette generator →

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