#1B4D22#1B4D22

#1B4D22 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.089 H 146.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1B4D22
RGBrgb(27, 77, 34)
HSLhsl(128, 48%, 20%)
HSVhsv(128, 65%, 30%)
CMYKcmyk(64.9%, 0%, 55.8%, 69.8%)
CIE-LABlab(28.53, -27.27, 20.49)
CIE-LCHlch(28.53, 34.11, 143.08°)
OKLaboklab(37.46% -0.0738 0.0495)
OKLCHoklch(37.46% 0.089 146.2)
XYZxyz(3.3944, 5.6559, 2.4259)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D22 #4D1B46
analogous
#2D4D1B #1B4D22 #1B4D3B
triadic
#1B4D22 #221B4D #4D221B
tetradic
#1B4D22 #1B2D4D #4D1B46 #4D3B1B
square
#1B4D22 #1B2D4D #4D1B46 #4D3B1B
split-complementary
#1B4D22 #3B1B4D #4D1B2D
monochromatic
#08170A #0B200E #1B4D22 #2B7A36 #3BA84A

Accessibility & contrast

On white

9.85
#1B4D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1B4D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D22
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D22#FFFFFF#000000##FFFFFF
##1B4D221.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461E
Deuteranopia (green-blind)
#484225
Tritanopia (blue-blind)
#104B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4d22;
/* rgb */ color: rgb(27, 77, 34);
/* oklch */ color: oklch(37.5% 0.089 146.2);
Tailwind
colors: {
  custom: {
    50: '#5d7f5e',
    500: '#1b4d22',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d22;
$custom-light: #5d7f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d22",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 34
  },
  "hsl": {
    "h": 128.4,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.08887,
    "h": 146.2
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#1B4D22
secondary
#83417A
accent
#50C5D8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1B4D22

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

Preview Lab → · Contrast checker → · Palette generator →

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