#1B522E#1B522E

#1B522E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.084 H 151.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#1B522E
RGBrgb(27, 82, 46)
HSLhsl(141, 50%, 21%)
HSVhsv(141, 67%, 32%)
CMYKcmyk(67.1%, 0%, 43.9%, 67.8%)
CIE-LABlab(30.56, -27.30, 15.94)
CIE-LCHlch(30.56, 31.61, 149.72°)
OKLaboklab(39.2% -0.0738 0.0396)
OKLCHoklch(39.2% 0.084 151.8)
XYZxyz(3.9621, 6.4645, 3.6232)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B522E #521B3F
analogous
#24521B #1B522E #1B524A
triadic
#1B522E #2E1B52 #522E1B
tetradic
#1B522E #1B2452 #521B3F #524A1B
square
#1B522E #1B2452 #521B3F #524A1B
split-complementary
#1B522E #4A1B52 #521B24
monochromatic
#08170D #0C2414 #1B522E #2A8048 #39AE62

Accessibility & contrast

On white

9.16
#1B522E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B522E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B522E#FFFFFF#000000##FFFFFF
##1B522E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2B
Deuteranopia (green-blind)
#4B4630
Tritanopia (blue-blind)
#085149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b522e;
/* rgb */ color: rgb(27, 82, 46);
/* oklch */ color: oklch(39.2% 0.084 151.8);
Tailwind
colors: {
  custom: {
    50: '#5e8367',
    500: '#1b522e',
    950: '#000000',
  },
}
SCSS
$custom: #1b522e;
$custom-light: #5e8367;
$custom-dark: #000000;
JSON
{
  "hex": "#1b522e",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 46
  },
  "hsl": {
    "h": 140.727,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.08377,
    "h": 151.8
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#1B522E
secondary
#88416F
accent
#4EAADA
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1B522E

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

Preview Lab → · Contrast checker → · Palette generator →

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