#1A4F2C#1A4F2C

#1A4F2C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.082 H 151.6°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#1A4F2C
RGBrgb(26, 79, 44)
HSLhsl(140, 50%, 21%)
HSVhsv(140, 67%, 31%)
CMYKcmyk(67.1%, 0%, 44.3%, 69%)
CIE-LABlab(29.39, -26.57, 15.63)
CIE-LCHlch(29.39, 30.83, 149.54°)
OKLaboklab(38.22% -0.0719 0.0388)
OKLCHoklch(38.22% 0.082 151.6)
XYZxyz(3.6763, 5.9931, 3.3454)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F2C #4F1A3D
analogous
#224F1A #1A4F2C #1A4F46
triadic
#1A4F2C #2C1A4F #4F2C1A
tetradic
#1A4F2C #1A224F #4F1A3D #4F461A
square
#1A4F2C #1A224F #4F1A3D #4F461A
split-complementary
#1A4F2C #461A4F #4F1A22
monochromatic
#08170D #0B2112 #1A4F2C #297D46 #38AB5F

Accessibility & contrast

On white

9.55
#1A4F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1A4F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F2C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F2C#FFFFFF#000000##FFFFFF
##1A4F2C1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#48432E
Tritanopia (blue-blind)
#084E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a4f2c;
/* rgb */ color: rgb(26, 79, 44);
/* oklch */ color: oklch(38.2% 0.082 151.6);
Tailwind
colors: {
  custom: {
    50: '#5d8165',
    500: '#1a4f2c',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f2c;
$custom-light: #5d8165;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f2c",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 44
  },
  "hsl": {
    "h": 140.377,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38224,
    "c": 0.08167,
    "h": 151.6
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#1A4F2C
secondary
#85406E
accent
#4EAADA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #1A4F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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