#1B522B#1B522B

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

Color values

HEX#1B522B
RGBrgb(27, 82, 43)
HSLhsl(137, 50%, 21%)
HSVhsv(137, 67%, 32%)
CMYKcmyk(67.1%, 0%, 47.6%, 67.8%)
CIE-LABlab(30.50, -27.90, 17.67)
CIE-LCHlch(30.50, 33.03, 147.65°)
OKLaboklab(39.14% -0.0754 0.0435)
OKLCHoklch(39.14% 0.087 150)
XYZxyz(3.9050, 6.4416, 3.3226)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B522B #521B42
analogous
#27521B #1B522B #1B5247
triadic
#1B522B #2B1B52 #522B1B
tetradic
#1B522B #1B2752 #521B42 #52471B
square
#1B522B #1B2752 #521B42 #52471B
split-complementary
#1B522B #471B52 #521B27
monochromatic
#08170C #0C2413 #1B522B #2A8043 #39AE5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B522B#FFFFFF#000000##FFFFFF
##1B522B1.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)
#534B28
Deuteranopia (green-blind)
#4B462E
Tritanopia (blue-blind)
#0A5049
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b522b;
/* rgb */ color: rgb(27, 82, 43);
/* oklch */ color: oklch(39.1% 0.087 150.0);
Tailwind
colors: {
  custom: {
    50: '#5e8365',
    500: '#1b522b',
    950: '#000000',
  },
}
SCSS
$custom: #1b522b;
$custom-light: #5e8365;
$custom-dark: #000000;
JSON
{
  "hex": "#1b522b",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 137.455,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39136,
    "c": 0.08705,
    "h": 150
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#1B522B
secondary
#884173
accent
#4EB1DA
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A05
muted
#797C7A

Preview Lab

Preview with #1B522B

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

Preview Lab → · Contrast checker → · Palette generator →

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