#1A5712#1A5712

#1A5712 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.118 H 141.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#1A5712
RGBrgb(26, 87, 18)
HSLhsl(113, 66%, 21%)
HSVhsv(113, 79%, 34%)
CMYKcmyk(70.1%, 0%, 79.3%, 65.9%)
CIE-LABlab(31.99, -33.75, 32.45)
CIE-LCHlch(31.99, 46.82, 136.13°)
OKLaboklab(40.26% -0.0921 0.0734)
OKLCHoklch(40.26% 0.118 141.5)
XYZxyz(3.9432, 7.0793, 1.7308)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5712 #4F1257
analogous
#3C5712 #1A5712 #12572C
triadic
#1A5712 #121A57 #57121A
tetradic
#1A5712 #123C57 #4F1257 #572C12
square
#1A5712 #123C57 #4F1257 #572C12
split-complementary
#1A5712 #2C1257 #57123C
monochromatic
#081905 #0B2408 #1A5712 #298A1C #38BC27

Accessibility & contrast

On white

8.69
#1A5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1A5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5712
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5712#FFFFFF#000000##FFFFFF
##1A57121.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#0E544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a5712;
/* rgb */ color: rgb(26, 87, 18);
/* oklch */ color: oklch(40.3% 0.118 141.5);
Tailwind
colors: {
  custom: {
    50: '#608755',
    500: '#1a5712',
    950: '#000000',
  },
}
SCSS
$custom: #1a5712;
$custom-light: #608755;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5712",
  "rgb": {
    "r": 26,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 113.043,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40255,
    "c": 0.11776,
    "h": 141.5
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#1A5712
secondary
#853590
accent
#3FE9D5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1A5712

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

Preview Lab → · Contrast checker → · Palette generator →

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