#1B4E22#1B4E22

#1B4E22 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.090 H 146.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1B4E22
RGBrgb(27, 78, 34)
HSLhsl(128, 49%, 21%)
HSVhsv(128, 65%, 31%)
CMYKcmyk(65.4%, 0%, 56.4%, 69.4%)
CIE-LABlab(28.89, -27.72, 20.95)
CIE-LCHlch(28.89, 34.75, 142.93°)
OKLaboklab(37.77% -0.075 0.0505)
OKLCHoklch(37.77% 0.09 146.1)
XYZxyz(3.4649, 5.7970, 2.4494)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E22 #4E1B47
analogous
#2D4E1B #1B4E22 #1B4E3B
triadic
#1B4E22 #221B4E #4E221B
tetradic
#1B4E22 #1B2D4E #4E1B47 #4E3B1B
square
#1B4E22 #1B2D4E #4E1B47 #4E3B1B
split-complementary
#1B4E22 #3B1B4E #4E1B2D
monochromatic
#08170A #0B210E #1B4E22 #2B7B36 #3AA94A

Accessibility & contrast

On white

9.72
#1B4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1B4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E22
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E22#FFFFFF#000000##FFFFFF
##1B4E221.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471E
Deuteranopia (green-blind)
#494225
Tritanopia (blue-blind)
#104C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e22;
/* rgb */ color: rgb(27, 78, 34);
/* oklch */ color: oklch(37.8% 0.090 146.1);
Tailwind
colors: {
  custom: {
    50: '#5e805e',
    500: '#1b4e22',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e22;
$custom-light: #5e805e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e22",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 128.235,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.37766,
    "c": 0.09043,
    "h": 146.1
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#1B4E22
secondary
#84417B
accent
#50C5D8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1B4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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