#1B522A#1B522A

#1B522A is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.088 H 149.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#1B522A
RGBrgb(27, 82, 42)
HSLhsl(136, 50%, 21%)
HSVhsv(136, 67%, 32%)
CMYKcmyk(67.1%, 0%, 48.8%, 67.8%)
CIE-LABlab(30.48, -28.09, 18.25)
CIE-LCHlch(30.48, 33.50, 146.99°)
OKLaboklab(39.12% -0.0759 0.0448)
OKLCHoklch(39.12% 0.088 149.4)
XYZxyz(3.8869, 6.4344, 3.2272)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B522A #521B43
analogous
#28521B #1B522A #1B5246
triadic
#1B522A #2A1B52 #522A1B
tetradic
#1B522A #1B2852 #521B43 #52461B
square
#1B522A #1B2852 #521B43 #52461B
split-complementary
#1B522A #461B52 #521B28
monochromatic
#08170C #0C2412 #1B522A #2A8042 #39AE59

Accessibility & contrast

On white

9.18
#1B522A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1B522A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B522A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B522A#FFFFFF#000000##FFFFFF
##1B522A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B27
Deuteranopia (green-blind)
#4C462D
Tritanopia (blue-blind)
#0A5048
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b522a;
/* rgb */ color: rgb(27, 82, 42);
/* oklch */ color: oklch(39.1% 0.088 149.4);
Tailwind
colors: {
  custom: {
    50: '#5e8364',
    500: '#1b522a',
    950: '#000000',
  },
}
SCSS
$custom: #1b522a;
$custom-light: #5e8364;
$custom-dark: #000000;
JSON
{
  "hex": "#1b522a",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 136.364,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39116,
    "c": 0.08814,
    "h": 149.4
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#1B522A
secondary
#884175
accent
#4EB4DA
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #1B522A

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

Preview Lab → · Contrast checker → · Palette generator →

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