#1B5F2A#1B5F2A

#1B5F2A is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.108 H 147.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#1B5F2A
RGBrgb(27, 95, 42)
HSLhsl(133, 56%, 24%)
HSVhsv(133, 72%, 37%)
CMYKcmyk(71.6%, 0%, 55.8%, 62.7%)
CIE-LABlab(35.17, -33.70, 24.12)
CIE-LCHlch(35.17, 41.44, 144.40°)
OKLaboklab(42.98% -0.0909 0.0581)
OKLCHoklch(42.98% 0.108 147.4)
XYZxyz(4.9618, 8.5841, 3.5854)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F2A #5F1B50
analogous
#2E5F1B #1B5F2A #1B5F4C
triadic
#1B5F2A #2A1B5F #5F2A1B
tetradic
#1B5F2A #1B2E5F #5F1B50 #5F4C1B
square
#1B5F2A #1B2E5F #5F1B50 #5F4C1B
split-complementary
#1B5F2A #4C1B5F #5F1B2E
monochromatic
#07180B #0D2F15 #1B5F2A #298F3F #36BE54

Accessibility & contrast

On white

7.73
#1B5F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1B5F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5F2A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F2A#FFFFFF#000000##FFFFFF
##1B5F2A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#58502E
Tritanopia (blue-blind)
#035D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5f2a;
/* rgb */ color: rgb(27, 95, 42);
/* oklch */ color: oklch(43.0% 0.108 147.4);
Tailwind
colors: {
  custom: {
    50: '#618d65',
    500: '#1b5f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f2a;
$custom-light: #618d65;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f2a",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 133.235,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.42981,
    "c": 0.10786,
    "h": 147.4
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#1B5F2A
secondary
#954182
accent
#49BEDF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #1B5F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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