#1B5F2B#1B5F2B

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

Color values

HEX#1B5F2B
RGBrgb(27, 95, 43)
HSLhsl(134, 56%, 24%)
HSVhsv(134, 72%, 37%)
CMYKcmyk(71.6%, 0%, 54.7%, 62.7%)
CIE-LABlab(35.19, -33.53, 23.58)
CIE-LCHlch(35.19, 40.99, 144.88°)
OKLaboklab(43% -0.0904 0.057)
OKLCHoklch(43% 0.107 147.8)
XYZxyz(4.9799, 8.5913, 3.6809)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F2B #5F1B4F
analogous
#2D5F1B #1B5F2B #1B5F4D
triadic
#1B5F2B #2B1B5F #5F2B1B
tetradic
#1B5F2B #1B2D5F #5F1B4F #5F4D1B
square
#1B5F2B #1B2D5F #5F1B4F #5F4D1B
split-complementary
#1B5F2B #4D1B5F #5F1B2D
monochromatic
#07180B #0D2F15 #1B5F2B #298F41 #36BE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B5F2B#FFFFFF#000000##FFFFFF
##1B5F2B1.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)
#605627
Deuteranopia (green-blind)
#58502F
Tritanopia (blue-blind)
#025D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5f2b;
/* rgb */ color: rgb(27, 95, 43);
/* oklch */ color: oklch(43.0% 0.107 147.8);
Tailwind
colors: {
  custom: {
    50: '#618d65',
    500: '#1b5f2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f2b;
$custom-light: #618d65;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f2b",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 134.118,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.42997,
    "c": 0.10687,
    "h": 147.8
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#1B5F2B
secondary
#954181
accent
#49BCDF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1B5F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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