#1B5A2F#1B5A2F

#1B5A2F is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.095 H 150.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1B5A2F
RGBrgb(27, 90, 47)
HSLhsl(139, 54%, 23%)
HSVhsv(139, 70%, 35%)
CMYKcmyk(70%, 0%, 47.8%, 64.7%)
CIE-LABlab(33.46, -30.69, 19.11)
CIE-LCHlch(33.46, 36.15, 148.09°)
OKLaboklab(41.59% -0.0828 0.047)
OKLCHoklch(41.59% 0.095 150.4)
XYZxyz(4.6209, 7.7501, 3.9412)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5A2F #5A1B46
analogous
#265A1B #1B5A2F #1B5A4E
triadic
#1B5A2F #2F1B5A #5A2F1B
tetradic
#1B5A2F #1B265A #5A1B46 #5A4E1B
square
#1B5A2F #1B265A #5A1B46 #5A4E1B
split-complementary
#1B5A2F #4E1B5A #5A1B26
monochromatic
#07180C #0D2B16 #1B5A2F #298948 #37B860

Accessibility & contrast

On white

8.23
#1B5A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5A2F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5A2F#FFFFFF#000000##FFFFFF
##1B5A2F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522C
Deuteranopia (green-blind)
#534C32
Tritanopia (blue-blind)
#035850
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5a2f;
/* rgb */ color: rgb(27, 90, 47);
/* oklch */ color: oklch(41.6% 0.095 150.4);
Tailwind
colors: {
  custom: {
    50: '#608968',
    500: '#1b5a2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b5a2f;
$custom-light: #608968;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5a2f",
  "rgb": {
    "r": 27,
    "g": 90,
    "b": 47
  },
  "hsl": {
    "h": 139.048,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.09522,
    "h": 150.4
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#1B5A2F
secondary
#904177
accent
#4BAFDD
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1B5A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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