#1A4E27#1A4E27

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

Color values

HEX#1A4E27
RGBrgb(26, 78, 39)
HSLhsl(135, 50%, 20%)
HSVhsv(135, 67%, 31%)
CMYKcmyk(66.7%, 0%, 50%, 69.4%)
CIE-LABlab(28.94, -27.10, 18.06)
CIE-LCHlch(28.94, 32.57, 146.32°)
OKLaboklab(37.82% -0.0732 0.0443)
OKLCHoklch(37.82% 0.086 148.9)
XYZxyz(3.5163, 5.8145, 2.8561)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E27 #4E1A41
analogous
#274E1A #1A4E27 #1A4E41
triadic
#1A4E27 #271A4E #4E271A
tetradic
#1A4E27 #1A274E #4E1A41 #4E411A
square
#1A4E27 #1A274E #4E1A41 #4E411A
split-complementary
#1A4E27 #411A4E #4E1A27
monochromatic
#08170B #0B2010 #1A4E27 #297C3E #39AA55

Accessibility & contrast

On white

9.71
#1A4E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1A4E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E27
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E27#FFFFFF#000000##FFFFFF
##1A4E271.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4724
Deuteranopia (green-blind)
#48422A
Tritanopia (blue-blind)
#0B4C45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4e27;
/* rgb */ color: rgb(26, 78, 39);
/* oklch */ color: oklch(37.8% 0.086 148.9);
Tailwind
colors: {
  custom: {
    50: '#5d8062',
    500: '#1a4e27',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e27;
$custom-light: #5d8062;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e27",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 135,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3782,
    "c": 0.08557,
    "h": 148.9
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#1A4E27
secondary
#844073
accent
#4EB7DA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #1A4E27

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

Preview Lab → · Contrast checker → · Palette generator →

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