#1A4F31#1A4F31

#1A4F31 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.3% C 0.076 H 155.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1A4F31
RGBrgb(26, 79, 49)
HSLhsl(146, 50%, 21%)
HSVhsv(146, 67%, 31%)
CMYKcmyk(67.1%, 0%, 38%, 69%)
CIE-LABlab(29.50, -25.49, 12.68)
CIE-LCHlch(29.50, 28.47, 153.56°)
OKLaboklab(38.34% -0.0692 0.0319)
OKLCHoklch(38.34% 0.076 155.3)
XYZxyz(3.7760, 6.0330, 3.8706)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F31 #4F1A38
analogous
#1D4F1A #1A4F31 #1A4F4B
triadic
#1A4F31 #311A4F #4F311A
tetradic
#1A4F31 #1A1D4F #4F1A38 #4F4B1A
square
#1A4F31 #1A1D4F #4F1A38 #4F4B1A
split-complementary
#1A4F31 #4B1A4F #4F1A1D
monochromatic
#08170E #0B2114 #1A4F31 #297D4E #38AB6A

Accessibility & contrast

On white

9.52
#1A4F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1A4F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F31
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F31#FFFFFF#000000##FFFFFF
##1A4F311.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482F
Deuteranopia (green-blind)
#484333
Tritanopia (blue-blind)
#054E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a4f31;
/* rgb */ color: rgb(26, 79, 49);
/* oklch */ color: oklch(38.3% 0.076 155.3);
Tailwind
colors: {
  custom: {
    50: '#5d8169',
    500: '#1a4f31',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f31;
$custom-light: #5d8169;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f31",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 49
  },
  "hsl": {
    "h": 146.038,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38339,
    "c": 0.07619,
    "h": 155.3
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#1A4F31
secondary
#854067
accent
#4E9DDA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1A4F31

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

Preview Lab → · Contrast checker → · Palette generator →

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