#1B5B2F#1B5B2F

#1B5B2F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.097 H 150.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#1B5B2F
RGBrgb(27, 91, 47)
HSLhsl(139, 54%, 23%)
HSVhsv(139, 70%, 36%)
CMYKcmyk(70.3%, 0%, 48.4%, 64.3%)
CIE-LABlab(33.82, -31.12, 19.57)
CIE-LCHlch(33.82, 36.77, 147.84°)
OKLaboklab(41.89% -0.084 0.0481)
OKLCHoklch(41.89% 0.097 150.2)
XYZxyz(4.7058, 7.9199, 3.9695)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5B2F #5B1B47
analogous
#275B1B #1B5B2F #1B5B4F
triadic
#1B5B2F #2F1B5B #5B2F1B
tetradic
#1B5B2F #1B275B #5B1B47 #5B4F1B
square
#1B5B2F #1B275B #5B1B47 #5B4F1B
split-complementary
#1B5B2F #4F1B5B #5B1B27
monochromatic
#07180C #0D2C17 #1B5B2F #298A47 #37B960

Accessibility & contrast

On white

8.13
#1B5B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1B5B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5B2F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5B2F#FFFFFF#000000##FFFFFF
##1B5B2F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532C
Deuteranopia (green-blind)
#544D32
Tritanopia (blue-blind)
#025950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5b2f;
/* rgb */ color: rgb(27, 91, 47);
/* oklch */ color: oklch(41.9% 0.097 150.2);
Tailwind
colors: {
  custom: {
    50: '#608a68',
    500: '#1b5b2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b5b2f;
$custom-light: #608a68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5b2f",
  "rgb": {
    "r": 27,
    "g": 91,
    "b": 47
  },
  "hsl": {
    "h": 138.75,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.09675,
    "h": 150.2
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#1B5B2F
secondary
#914178
accent
#4AB0DE
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #1B5B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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