#1B5A2D#1B5A2D

#1B5A2D is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.097 H 149.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#1B5A2D
RGBrgb(27, 90, 45)
HSLhsl(137, 54%, 23%)
HSVhsv(137, 70%, 35%)
CMYKcmyk(70%, 0%, 50%, 64.7%)
CIE-LABlab(33.42, -31.06, 20.24)
CIE-LCHlch(33.42, 37.07, 146.92°)
OKLaboklab(41.55% -0.0838 0.0495)
OKLCHoklch(41.55% 0.097 149.4)
XYZxyz(4.5815, 7.7343, 3.7335)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5A2D #5A1B48
analogous
#285A1B #1B5A2D #1B5A4C
triadic
#1B5A2D #2D1B5A #5A2D1B
tetradic
#1B5A2D #1B285A #5A1B48 #5A4C1B
square
#1B5A2D #1B285A #5A1B48 #5A4C1B
split-complementary
#1B5A2D #4C1B5A #5A1B28
monochromatic
#07180C #0D2B15 #1B5A2D #298945 #37B85C

Accessibility & contrast

On white

8.24
#1B5A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1B5A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5A2D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5A2D#FFFFFF#000000##FFFFFF
##1B5A2D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5229
Deuteranopia (green-blind)
#534C30
Tritanopia (blue-blind)
#04584F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5a2d;
/* rgb */ color: rgb(27, 90, 45);
/* oklch */ color: oklch(41.6% 0.097 149.4);
Tailwind
colors: {
  custom: {
    50: '#608966',
    500: '#1b5a2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b5a2d;
$custom-light: #608966;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5a2d",
  "rgb": {
    "r": 27,
    "g": 90,
    "b": 45
  },
  "hsl": {
    "h": 137.143,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41554,
    "c": 0.09733,
    "h": 149.4
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#1B5A2D
secondary
#904179
accent
#4BB3DD
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1B5A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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