#1B491F#1B491F

#1B491F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.086 H 145.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#1B491F
RGBrgb(27, 73, 31)
HSLhsl(125, 46%, 20%)
HSVhsv(125, 63%, 29%)
CMYKcmyk(63%, 0%, 57.5%, 71.4%)
CIE-LABlab(27.01, -25.95, 20.37)
CIE-LCHlch(27.01, 32.99, 141.87°)
OKLaboklab(36.2% -0.0703 0.049)
OKLCHoklch(36.2% 0.086 145.1)
XYZxyz(3.0817, 5.0968, 2.1174)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B491F #491B45
analogous
#2E491B #1B491F #1B4936
triadic
#1B491F #1F1B49 #491F1B
tetradic
#1B491F #1B2E49 #491B45 #49361B
square
#1B491F #1B2E49 #491B45 #49361B
split-complementary
#1B491F #361B49 #491B2E
monochromatic
#081609 #0A1C0C #1B491F #2C7632 #3CA245

Accessibility & contrast

On white

10.40
#1B491F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1B491F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B491F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B491F#FFFFFF#000000##FFFFFF
##1B491F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421B
Deuteranopia (green-blind)
#443E22
Tritanopia (blue-blind)
#12473F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b491f;
/* rgb */ color: rgb(27, 73, 31);
/* oklch */ color: oklch(36.2% 0.086 145.1);
Tailwind
colors: {
  custom: {
    50: '#5d7c5b',
    500: '#1b491f',
    950: '#000000',
  },
}
SCSS
$custom: #1b491f;
$custom-light: #5d7c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b491f",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 31
  },
  "hsl": {
    "h": 125.217,
    "s": 46,
    "l": 19.608
  },
  "oklch": {
    "l": 0.362,
    "c": 0.08574,
    "h": 145.1
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#1B491F
secondary
#7F4179
accent
#52CAD6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #1B491F

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

Preview Lab → · Contrast checker → · Palette generator →

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