#1B4908#1B4908

#1B4908 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.105 H 138.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#1B4908
RGBrgb(27, 73, 8)
HSLhsl(102, 80%, 16%)
HSVhsv(102, 89%, 29%)
CMYKcmyk(63%, 0%, 89%, 71.4%)
CIE-LABlab(26.78, -28.54, 31.24)
CIE-LCHlch(26.78, 42.31, 132.42°)
OKLaboklab(35.94% -0.0788 0.0692)
OKLCHoklch(35.94% 0.105 138.7)
XYZxyz(2.8783, 5.0154, 1.0461)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4908 #360849
analogous
#3B4908 #1B4908 #084916
triadic
#1B4908 #081B49 #49081B
tetradic
#1B4908 #083B49 #360849 #491608
square
#1B4908 #083B49 #360849 #491608
split-complementary
#1B4908 #160849 #49083B
monochromatic
#0A1C03 #0A1C03 #1B4908 #2F800E #44B714

Accessibility & contrast

On white

10.48
#1B4908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1B4908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4908
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4908#FFFFFF#000000##FFFFFF
##1B49081.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4200
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#16463D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b4908;
/* rgb */ color: rgb(27, 73, 8);
/* oklch */ color: oklch(35.9% 0.105 138.7);
Tailwind
colors: {
  custom: {
    50: '#5e7c4e',
    500: '#1b4908',
    950: '#000000',
  },
}
SCSS
$custom: #1b4908;
$custom-light: #5e7c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4908",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 102.462,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35936,
    "c": 0.10486,
    "h": 138.7
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#1B4908
secondary
#6B2687
accent
#31F7BD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B4908

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

Preview Lab → · Contrast checker → · Palette generator →

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