#1B5D2F#1B5D2F

#1B5D2F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.100 H 149.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1B5D2F
RGBrgb(27, 93, 47)
HSLhsl(138, 55%, 24%)
HSVhsv(138, 71%, 36%)
CMYKcmyk(71%, 0%, 49.5%, 63.5%)
CIE-LABlab(34.53, -31.98, 20.49)
CIE-LCHlch(34.53, 37.98, 147.36°)
OKLaboklab(42.48% -0.0862 0.0502)
OKLCHoklch(42.48% 0.1 149.8)
XYZxyz(4.8791, 8.2664, 4.0272)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5D2F #5D1B49
analogous
#285D1B #1B5D2F #1B5D50
triadic
#1B5D2F #2F1B5D #5D2F1B
tetradic
#1B5D2F #1B285D #5D1B49 #5D501B
square
#1B5D2F #1B285D #5D1B49 #5D501B
split-complementary
#1B5D2F #501B5D #5D1B28
monochromatic
#07180C #0D2E17 #1B5D2F #298C47 #37BC5F

Accessibility & contrast

On white

7.91
#1B5D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1B5D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5D2F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5D2F#FFFFFF#000000##FFFFFF
##1B5D2F1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552B
Deuteranopia (green-blind)
#554F32
Tritanopia (blue-blind)
#015B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b5d2f;
/* rgb */ color: rgb(27, 93, 47);
/* oklch */ color: oklch(42.5% 0.100 149.8);
Tailwind
colors: {
  custom: {
    50: '#618c68',
    500: '#1b5d2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b5d2f;
$custom-light: #618c68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5d2f",
  "rgb": {
    "r": 27,
    "g": 93,
    "b": 47
  },
  "hsl": {
    "h": 138.182,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.09978,
    "h": 149.8
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#1B5D2F
secondary
#93417A
accent
#49B1DE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1B5D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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