#1B5C2F#1B5C2F

#1B5C2F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.098 H 150.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1B5C2F
RGBrgb(27, 92, 47)
HSLhsl(138, 55%, 23%)
HSVhsv(138, 71%, 36%)
CMYKcmyk(70.7%, 0%, 48.9%, 63.9%)
CIE-LABlab(34.17, -31.55, 20.03)
CIE-LCHlch(34.17, 37.38, 147.59°)
OKLaboklab(42.18% -0.0851 0.0491)
OKLCHoklch(42.18% 0.098 150)
XYZxyz(4.7919, 8.0920, 3.9982)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5C2F #5C1B48
analogous
#275C1B #1B5C2F #1B5C4F
triadic
#1B5C2F #2F1B5C #5C2F1B
tetradic
#1B5C2F #1B275C #5C1B48 #5C4F1B
square
#1B5C2F #1B275C #5C1B48 #5C4F1B
split-complementary
#1B5C2F #4F1B5C #5C1B27
monochromatic
#07180C #0D2D17 #1B5C2F #298B47 #37BB5F

Accessibility & contrast

On white

8.02
#1B5C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1B5C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5C2F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5C2F#FFFFFF#000000##FFFFFF
##1B5C2F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D542C
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#025A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5c2f;
/* rgb */ color: rgb(27, 92, 47);
/* oklch */ color: oklch(42.2% 0.098 150.0);
Tailwind
colors: {
  custom: {
    50: '#608b68',
    500: '#1b5c2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b5c2f;
$custom-light: #608b68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5c2f",
  "rgb": {
    "r": 27,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 138.462,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.09826,
    "h": 150
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#1B5C2F
secondary
#924179
accent
#4AB0DE
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #1B5C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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