#1A4E0F#1A4E0F

#1A4E0F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.108 H 140.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1A4E0F
RGBrgb(26, 78, 15)
HSLhsl(110, 68%, 18%)
HSVhsv(110, 81%, 31%)
CMYKcmyk(66.7%, 0%, 80.8%, 69.4%)
CIE-LABlab(28.65, -30.39, 30.33)
CIE-LCHlch(28.65, 42.94, 135.06°)
OKLaboklab(37.49% -0.0832 0.0685)
OKLCHoklch(37.49% 0.108 140.6)
XYZxyz(3.2365, 5.7026, 1.3820)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E0F #430F4E
analogous
#394E0F #1A4E0F #0F4E23
triadic
#1A4E0F #0F1A4E #4E0F1A
tetradic
#1A4E0F #0F394E #430F4E #4E230F
square
#1A4E0F #0F394E #430F4E #4E230F
split-complementary
#1A4E0F #230F4E #4E0F39
monochromatic
#091A05 #091B05 #1A4E0F #2B8119 #3CB523

Accessibility & contrast

On white

9.81
#1A4E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1A4E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E0F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E0F#FFFFFF#000000##FFFFFF
##1A4E0F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504604
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#124B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4e0f;
/* rgb */ color: rgb(26, 78, 15);
/* oklch */ color: oklch(37.5% 0.108 140.6);
Tailwind
colors: {
  custom: {
    50: '#5e8052',
    500: '#1a4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e0f;
$custom-light: #5e8052;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e0f",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 109.524,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37487,
    "c": 0.10779,
    "h": 140.6
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#1A4E0F
secondary
#793188
accent
#3DEBCC
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1A4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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