#1B4B08#1B4B08

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

Color values

HEX#1B4B08
RGBrgb(27, 75, 8)
HSLhsl(103, 81%, 16%)
HSVhsv(103, 89%, 29%)
CMYKcmyk(64%, 0%, 89.3%, 70.6%)
CIE-LABlab(27.52, -29.38, 31.93)
CIE-LCHlch(27.52, 43.39, 132.62°)
OKLaboklab(36.55% -0.081 0.0706)
OKLCHoklch(36.55% 0.108 138.9)
XYZxyz(3.0118, 5.2824, 1.0906)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B08 #38084B
analogous
#3D4B08 #1B4B08 #084B17
triadic
#1B4B08 #081B4B #4B081B
tetradic
#1B4B08 #083D4B #38084B #4B1708
square
#1B4B08 #083D4B #38084B #4B1708
split-complementary
#1B4B08 #17084B #4B083D
monochromatic
#0A1C03 #0A1C03 #1B4B08 #2F820E #43BA14

Accessibility & contrast

On white

10.21
#1B4B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4B08
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B08#FFFFFF#000000##FFFFFF
##1B4B081.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4300
Deuteranopia (green-blind)
#484010
Tritanopia (blue-blind)
#16483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b4b08;
/* rgb */ color: rgb(27, 75, 8);
/* oklch */ color: oklch(36.6% 0.108 138.9);
Tailwind
colors: {
  custom: {
    50: '#5f7e4e',
    500: '#1b4b08',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b08;
$custom-light: #5f7e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b08",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 8
  },
  "hsl": {
    "h": 102.985,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36553,
    "c": 0.10751,
    "h": 138.9
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#1B4B08
secondary
#6D2689
accent
#31F7BF
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4B08

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

Preview Lab → · Contrast checker → · Palette generator →

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