#1A4908#1A4908

#1A4908 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.105 H 139.0°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#1A4908
RGBrgb(26, 73, 8)
HSLhsl(103, 80%, 16%)
HSVhsv(103, 89%, 29%)
CMYKcmyk(64.4%, 0%, 89%, 71.4%)
CIE-LABlab(26.74, -28.85, 31.19)
CIE-LCHlch(26.74, 42.49, 132.77°)
OKLaboklab(35.89% -0.0795 0.0691)
OKLCHoklch(35.89% 0.105 139)
XYZxyz(2.8523, 5.0020, 1.0449)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4908 #370849
analogous
#3A4908 #1A4908 #084916
triadic
#1A4908 #081A49 #49081A
tetradic
#1A4908 #083A49 #370849 #491608
square
#1A4908 #083A49 #370849 #491608
split-complementary
#1A4908 #160849 #49083A
monochromatic
#0A1C03 #0A1C03 #1A4908 #2E800E #41B714

Accessibility & contrast

On white

10.50
#1A4908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1A4908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4908
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4908#FFFFFF#000000##FFFFFF
##1A49081.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4200
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#15463D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a4908;
/* rgb */ color: rgb(26, 73, 8);
/* oklch */ color: oklch(35.9% 0.105 139.0);
Tailwind
colors: {
  custom: {
    50: '#5e7c4e',
    500: '#1a4908',
    950: '#000000',
  },
}
SCSS
$custom: #1a4908;
$custom-light: #5e7c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4908",
  "rgb": {
    "r": 26,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 103.385,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35894,
    "c": 0.10536,
    "h": 139
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#1A4908
secondary
#6C2687
accent
#31F7C0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1A4908

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

Preview Lab → · Contrast checker → · Palette generator →

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