#1A4F2F#1A4F2F

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

Color values

HEX#1A4F2F
RGBrgb(26, 79, 47)
HSLhsl(144, 50%, 21%)
HSVhsv(144, 67%, 31%)
CMYKcmyk(67.1%, 0%, 40.5%, 69%)
CIE-LABlab(29.45, -25.94, 13.86)
CIE-LCHlch(29.45, 29.41, 151.88°)
OKLaboklab(38.29% -0.0703 0.0347)
OKLCHoklch(38.29% 0.078 153.7)
XYZxyz(3.7348, 6.0164, 3.6532)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F2F #4F1A3A
analogous
#1F4F1A #1A4F2F #1A4F49
triadic
#1A4F2F #2F1A4F #4F2F1A
tetradic
#1A4F2F #1A1F4F #4F1A3A #4F491A
square
#1A4F2F #1A1F4F #4F1A3A #4F491A
split-complementary
#1A4F2F #491A4F #4F1A1F
monochromatic
#08170E #0B2114 #1A4F2F #297D4A #38AB66

Accessibility & contrast

On white

9.53
#1A4F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4F2F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F2F#FFFFFF#000000##FFFFFF
##1A4F2F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#484331
Tritanopia (blue-blind)
#064E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a4f2f;
/* rgb */ color: rgb(26, 79, 47);
/* oklch */ color: oklch(38.3% 0.078 153.7);
Tailwind
colors: {
  custom: {
    50: '#5d8167',
    500: '#1a4f2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f2f;
$custom-light: #5d8167;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f2f",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 143.774,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.07837,
    "h": 153.7
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#1A4F2F
secondary
#85406A
accent
#4EA2DA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1A4F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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