#1A4F2D#1A4F2D

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

Color values

HEX#1A4F2D
RGBrgb(26, 79, 45)
HSLhsl(142, 50%, 21%)
HSVhsv(142, 67%, 31%)
CMYKcmyk(67.1%, 0%, 43%, 69%)
CIE-LABlab(29.41, -26.37, 15.04)
CIE-LCHlch(29.41, 30.35, 150.30°)
OKLaboklab(38.25% -0.0713 0.0375)
OKLCHoklch(38.25% 0.081 152.3)
XYZxyz(3.6953, 6.0007, 3.4456)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F2D #4F1A3C
analogous
#224F1A #1A4F2D #1A4F47
triadic
#1A4F2D #2D1A4F #4F2D1A
tetradic
#1A4F2D #1A224F #4F1A3C #4F471A
square
#1A4F2D #1A224F #4F1A3C #4F471A
split-complementary
#1A4F2D #471A4F #4F1A22
monochromatic
#08170D #0B2113 #1A4F2D #297D47 #38AB61

Accessibility & contrast

On white

9.54
#1A4F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4F2D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F2D#FFFFFF#000000##FFFFFF
##1A4F2D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a4f2d;
/* rgb */ color: rgb(26, 79, 45);
/* oklch */ color: oklch(38.2% 0.081 152.3);
Tailwind
colors: {
  custom: {
    50: '#5d8166',
    500: '#1a4f2d',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f2d;
$custom-light: #5d8166;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f2d",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 45
  },
  "hsl": {
    "h": 141.509,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38246,
    "c": 0.08057,
    "h": 152.3
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#1A4F2D
secondary
#85406C
accent
#4EA8DA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1A4F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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