#1B5F2E#1B5F2E

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

Color values

HEX#1B5F2E
RGBrgb(27, 95, 46)
HSLhsl(137, 56%, 24%)
HSVhsv(137, 72%, 37%)
CMYKcmyk(71.6%, 0%, 51.6%, 62.7%)
CIE-LABlab(35.23, -33.01, 21.95)
CIE-LCHlch(35.23, 39.64, 146.39°)
OKLaboklab(43.05% -0.089 0.0535)
OKLCHoklch(43.05% 0.104 149)
XYZxyz(5.0370, 8.6142, 3.9815)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F2E #5F1B4C
analogous
#2A5F1B #1B5F2E #1B5F50
triadic
#1B5F2E #2E1B5F #5F2E1B
tetradic
#1B5F2E #1B2A5F #5F1B4C #5F501B
square
#1B5F2E #1B2A5F #5F1B4C #5F501B
split-complementary
#1B5F2E #501B5F #5F1B2A
monochromatic
#07180C #0D2F17 #1B5F2E #298F45 #36BE5C

Accessibility & contrast

On white

7.71
#1B5F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5F2E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F2E#FFFFFF#000000##FFFFFF
##1B5F2E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562A
Deuteranopia (green-blind)
#575131
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5f2e;
/* rgb */ color: rgb(27, 95, 46);
/* oklch */ color: oklch(43.0% 0.104 149.0);
Tailwind
colors: {
  custom: {
    50: '#618d67',
    500: '#1b5f2e',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f2e;
$custom-light: #618d67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f2e",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 136.765,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43049,
    "c": 0.10381,
    "h": 149
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#1B5F2E
secondary
#95417D
accent
#49B5DF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1B5F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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