#1A501F#1A501F

#1A501F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.097 H 144.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1A501F
RGBrgb(26, 80, 31)
HSLhsl(126, 51%, 21%)
HSVhsv(126, 68%, 31%)
CMYKcmyk(67.5%, 0%, 61.2%, 68.6%)
CIE-LABlab(29.55, -29.34, 23.43)
CIE-LCHlch(29.55, 37.54, 141.39°)
OKLaboklab(38.29% -0.0795 0.0558)
OKLCHoklch(38.29% 0.097 144.9)
XYZxyz(3.5418, 6.0555, 2.2782)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A501F #501A4B
analogous
#30501A #1A501F #1A503A
triadic
#1A501F #1F1A50 #501F1A
tetradic
#1A501F #1A3050 #501A4B #503A1A
square
#1A501F #1A3050 #501A4B #503A1A
split-complementary
#1A501F #3A1A50 #501A30
monochromatic
#081709 #0B220D #1A501F #297E31 #38AC43

Accessibility & contrast

On white

9.50
#1A501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1A501F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A501F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A501F#FFFFFF#000000##FFFFFF
##1A501F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481A
Deuteranopia (green-blind)
#4B4423
Tritanopia (blue-blind)
#0E4E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a501f;
/* rgb */ color: rgb(26, 80, 31);
/* oklch */ color: oklch(38.3% 0.097 144.9);
Tailwind
colors: {
  custom: {
    50: '#5e825c',
    500: '#1a501f',
    950: '#000000',
  },
}
SCSS
$custom: #1a501f;
$custom-light: #5e825c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a501f",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 125.556,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38285,
    "c": 0.09706,
    "h": 144.9
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#1A501F
secondary
#864080
accent
#4DCDDA
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1A501F

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

Preview Lab → · Contrast checker → · Palette generator →

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