#1A5F0F#1A5F0F

#1A5F0F is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.130 H 141.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#1A5F0F
RGBrgb(26, 95, 15)
HSLhsl(112, 73%, 22%)
HSVhsv(112, 84%, 37%)
CMYKcmyk(72.6%, 0%, 84.2%, 62.7%)
CIE-LABlab(34.88, -37.04, 36.42)
CIE-LCHlch(34.88, 51.94, 135.48°)
OKLaboklab(42.65% -0.1012 0.0812)
OKLCHoklch(42.65% 0.13 141.3)
XYZxyz(4.6042, 8.4380, 1.8379)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5F0F #540F5F
analogous
#425F0F #1A5F0F #0F5F2C
triadic
#1A5F0F #0F1A5F #5F0F1A
tetradic
#1A5F0F #0F425F #540F5F #5F2C0F
square
#1A5F0F #0F425F #540F5F #5F2C0F
split-complementary
#1A5F0F #2C0F5F #5F0F42
monochromatic
#071A04 #0C2A07 #1A5F0F #289417 #37C920

Accessibility & contrast

On white

7.81
#1A5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1A5F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5F0F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5F0F#FFFFFF#000000##FFFFFF
##1A5F0F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#0B5C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1a5f0f;
/* rgb */ color: rgb(26, 95, 15);
/* oklch */ color: oklch(42.6% 0.130 141.3);
Tailwind
colors: {
  custom: {
    50: '#628d55',
    500: '#1a5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #1a5f0f;
$custom-light: #628d55;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5f0f",
  "rgb": {
    "r": 26,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 111.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42646,
    "c": 0.12971,
    "h": 141.3
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#1A5F0F
secondary
#8A3298
accent
#38EFD6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1A5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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