#1B5F2D#1B5F2D

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

Color values

HEX#1B5F2D
RGBrgb(27, 95, 45)
HSLhsl(136, 56%, 24%)
HSVhsv(136, 72%, 37%)
CMYKcmyk(71.6%, 0%, 52.6%, 62.7%)
CIE-LABlab(35.22, -33.19, 22.49)
CIE-LCHlch(35.22, 40.09, 145.87°)
OKLaboklab(43.03% -0.0895 0.0546)
OKLCHoklch(43.03% 0.105 148.6)
XYZxyz(5.0175, 8.6064, 3.8789)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F2D #5F1B4D
analogous
#2B5F1B #1B5F2D #1B5F4F
triadic
#1B5F2D #2D1B5F #5F2D1B
tetradic
#1B5F2D #1B2B5F #5F1B4D #5F4F1B
square
#1B5F2D #1B2B5F #5F1B4D #5F4F1B
split-complementary
#1B5F2D #4F1B5F #5F1B2B
monochromatic
#07180B #0D2F16 #1B5F2D #298F44 #36BE5A

Accessibility & contrast

On white

7.72
#1B5F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5F2D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F2D#FFFFFF#000000##FFFFFF
##1B5F2D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605629
Deuteranopia (green-blind)
#585131
Tritanopia (blue-blind)
#015D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5f2d;
/* rgb */ color: rgb(27, 95, 45);
/* oklch */ color: oklch(43.0% 0.105 148.6);
Tailwind
colors: {
  custom: {
    50: '#618d67',
    500: '#1b5f2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f2d;
$custom-light: #618d67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f2d",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 135.882,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43032,
    "c": 0.10484,
    "h": 148.6
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#1B5F2D
secondary
#95417F
accent
#49B7DF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1B5F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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