#1B522C#1B522C

#1B522C is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.086 H 150.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#1B522C
RGBrgb(27, 82, 44)
HSLhsl(139, 50%, 21%)
HSVhsv(139, 67%, 32%)
CMYKcmyk(67.1%, 0%, 46.3%, 67.8%)
CIE-LABlab(30.52, -27.71, 17.10)
CIE-LCHlch(30.52, 32.56, 148.32°)
OKLaboklab(39.16% -0.0749 0.0422)
OKLCHoklch(39.16% 0.086 150.6)
XYZxyz(3.9236, 6.4491, 3.4204)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B522C #521B41
analogous
#26521B #1B522C #1B5248
triadic
#1B522C #2C1B52 #522C1B
tetradic
#1B522C #1B2652 #521B41 #52481B
square
#1B522C #1B2652 #521B41 #52481B
split-complementary
#1B522C #481B52 #521B26
monochromatic
#08170C #0C2413 #1B522C #2A8045 #39AE5D

Accessibility & contrast

On white

9.17
#1B522C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B522C
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B522C#FFFFFF#000000##FFFFFF
##1B522C1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B29
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#095149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b522c;
/* rgb */ color: rgb(27, 82, 44);
/* oklch */ color: oklch(39.2% 0.086 150.6);
Tailwind
colors: {
  custom: {
    50: '#5e8365',
    500: '#1b522c',
    950: '#000000',
  },
}
SCSS
$custom: #1b522c;
$custom-light: #5e8365;
$custom-dark: #000000;
JSON
{
  "hex": "#1b522c",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 44
  },
  "hsl": {
    "h": 138.545,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39156,
    "c": 0.08596,
    "h": 150.6
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#1B522C
secondary
#884172
accent
#4EAFDA
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A05
muted
#797C7A

Preview Lab

Preview with #1B522C

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

Preview Lab → · Contrast checker → · Palette generator →

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