#1A4F0F#1A4F0F

#1A4F0F is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.109 H 140.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1A4F0F
RGBrgb(26, 79, 15)
HSLhsl(110, 68%, 18%)
HSVhsv(110, 81%, 31%)
CMYKcmyk(67.1%, 0%, 81%, 69%)
CIE-LABlab(29.02, -30.80, 30.70)
CIE-LCHlch(29.02, 43.49, 135.10°)
OKLaboklab(37.79% -0.0844 0.0692)
OKLCHoklch(37.79% 0.109 140.6)
XYZxyz(3.3080, 5.8458, 1.4059)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F0F #440F4F
analogous
#3A4F0F #1A4F0F #0F4F24
triadic
#1A4F0F #0F1A4F #4F0F1A
tetradic
#1A4F0F #0F3A4F #440F4F #4F240F
square
#1A4F0F #0F3A4F #440F4F #4F240F
split-complementary
#1A4F0F #240F4F #4F0F3A
monochromatic
#081A05 #091C05 #1A4F0F #2B8219 #3CB623

Accessibility & contrast

On white

9.68
#1A4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1A4F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F0F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F0F#FFFFFF#000000##FFFFFF
##1A4F0F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#124C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4f0f;
/* rgb */ color: rgb(26, 79, 15);
/* oklch */ color: oklch(37.8% 0.109 140.6);
Tailwind
colors: {
  custom: {
    50: '#5f8152',
    500: '#1a4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f0f;
$custom-light: #5f8152;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f0f",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 109.688,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37793,
    "c": 0.10914,
    "h": 140.6
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#1A4F0F
secondary
#7A3189
accent
#3DEBCD
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1A4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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