#1B4B0F#1B4B0F

#1B4B0F is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.103 H 140.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#1B4B0F
RGBrgb(27, 75, 15)
HSLhsl(108, 67%, 18%)
HSVhsv(108, 80%, 29%)
CMYKcmyk(64%, 0%, 80%, 70.6%)
CIE-LABlab(27.57, -28.85, 29.25)
CIE-LCHlch(27.57, 41.08, 134.60°)
OKLaboklab(36.61% -0.0791 0.0662)
OKLCHoklch(36.61% 0.103 140.1)
XYZxyz(3.0542, 5.2994, 1.3138)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B0F #3F0F4B
analogous
#394B0F #1B4B0F #0F4B21
triadic
#1B4B0F #0F1B4B #4B0F1B
tetradic
#1B4B0F #0F394B #3F0F4B #4B210F
square
#1B4B0F #0F394B #3F0F4B #4B210F
split-complementary
#1B4B0F #210F4B #4B0F39
monochromatic
#091A05 #091A05 #1B4B0F #2D7E19 #40B123

Accessibility & contrast

On white

10.19
#1B4B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1B4B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B0F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B0F#FFFFFF#000000##FFFFFF
##1B4B0F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4405
Deuteranopia (green-blind)
#474015
Tritanopia (blue-blind)
#15483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b4b0f;
/* rgb */ color: rgb(27, 75, 15);
/* oklch */ color: oklch(36.6% 0.103 140.1);
Tailwind
colors: {
  custom: {
    50: '#5e7e52',
    500: '#1b4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b0f;
$custom-light: #5e7e52;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b0f",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 108,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36606,
    "c": 0.10319,
    "h": 140.1
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#1B4B0F
secondary
#743085
accent
#3EEAC7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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