#1B4B2F#1B4B2F

#1B4B2F is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.071 H 155.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1B4B2F
RGBrgb(27, 75, 47)
HSLhsl(145, 47%, 20%)
HSVhsv(145, 64%, 29%)
CMYKcmyk(64%, 0%, 37.3%, 70.6%)
CIE-LABlab(28.03, -23.76, 11.96)
CIE-LCHlch(28.03, 26.60, 153.28°)
OKLaboklab(37.14% -0.0646 0.0301)
OKLCHoklch(37.14% 0.071 155)
XYZxyz(3.4809, 5.4701, 3.5612)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B2F #4B1B37
analogous
#1F4B1B #1B4B2F #1B4B47
triadic
#1B4B2F #2F1B4B #4B2F1B
tetradic
#1B4B2F #1B1F4B #4B1B37 #4B471B
square
#1B4B2F #1B1F4B #4B1B37 #4B471B
split-complementary
#1B4B2F #471B4B #4B1B1F
monochromatic
#08170E #0B1E13 #1B4B2F #2B784B #3BA567

Accessibility & contrast

On white

10.03
#1B4B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1B4B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B2F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B2F#FFFFFF#000000##FFFFFF
##1B4B2F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452D
Deuteranopia (green-blind)
#444031
Tritanopia (blue-blind)
#0B4A44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b4b2f;
/* rgb */ color: rgb(27, 75, 47);
/* oklch */ color: oklch(37.1% 0.071 155.0);
Tailwind
colors: {
  custom: {
    50: '#5d7e67',
    500: '#1b4b2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b2f;
$custom-light: #5d7e67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b2f",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 47
  },
  "hsl": {
    "h": 145,
    "s": 47.059,
    "l": 20
  },
  "oklch": {
    "l": 0.37137,
    "c": 0.07126,
    "h": 155
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#1B4B2F
secondary
#814166
accent
#519FD7
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #1B4B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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