#1B522D#1B522D

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

Color values

HEX#1B522D
RGBrgb(27, 82, 45)
HSLhsl(140, 50%, 21%)
HSVhsv(140, 67%, 32%)
CMYKcmyk(67.1%, 0%, 45.1%, 67.8%)
CIE-LABlab(30.54, -27.51, 16.52)
CIE-LCHlch(30.54, 32.09, 149.01°)
OKLaboklab(39.18% -0.0743 0.0409)
OKLCHoklch(39.18% 0.085 151.2)
XYZxyz(3.9426, 6.4567, 3.5206)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B522D #521B40
analogous
#25521B #1B522D #1B5249
triadic
#1B522D #2D1B52 #522D1B
tetradic
#1B522D #1B2552 #521B40 #52491B
square
#1B522D #1B2552 #521B40 #52491B
split-complementary
#1B522D #491B52 #521B25
monochromatic
#08170D #0C2414 #1B522D #2A8046 #39AE60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B522D#FFFFFF#000000##FFFFFF
##1B522D1.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)
#524B2A
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#095149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b522d;
/* rgb */ color: rgb(27, 82, 45);
/* oklch */ color: oklch(39.2% 0.085 151.2);
Tailwind
colors: {
  custom: {
    50: '#5e8366',
    500: '#1b522d',
    950: '#000000',
  },
}
SCSS
$custom: #1b522d;
$custom-light: #5e8366;
$custom-dark: #000000;
JSON
{
  "hex": "#1b522d",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 139.636,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39177,
    "c": 0.08487,
    "h": 151.2
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#1B522D
secondary
#884171
accent
#4EACDA
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1B522D

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

Preview Lab → · Contrast checker → · Palette generator →

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