#1B522F#1B522F

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

Color values

HEX#1B522F
RGBrgb(27, 82, 47)
HSLhsl(142, 50%, 21%)
HSVhsv(142, 67%, 32%)
CMYKcmyk(67.1%, 0%, 42.7%, 67.8%)
CIE-LABlab(30.57, -27.09, 15.36)
CIE-LCHlch(30.57, 31.14, 150.46°)
OKLaboklab(39.22% -0.0733 0.0383)
OKLCHoklch(39.22% 0.083 152.4)
XYZxyz(3.9821, 6.4724, 3.7282)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B522F #521B3E
analogous
#23521B #1B522F #1B524B
triadic
#1B522F #2F1B52 #522F1B
tetradic
#1B522F #1B2352 #521B3E #524B1B
square
#1B522F #1B2352 #521B3E #524B1B
split-complementary
#1B522F #4B1B52 #521B23
monochromatic
#08170D #0C2415 #1B522F #2A8049 #39AE64

Accessibility & contrast

On white

9.15
#1B522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B522F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B522F#FFFFFF#000000##FFFFFF
##1B522F1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2D
Deuteranopia (green-blind)
#4B4631
Tritanopia (blue-blind)
#075149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b522f;
/* rgb */ color: rgb(27, 82, 47);
/* oklch */ color: oklch(39.2% 0.083 152.4);
Tailwind
colors: {
  custom: {
    50: '#5e8368',
    500: '#1b522f',
    950: '#000000',
  },
}
SCSS
$custom: #1b522f;
$custom-light: #5e8368;
$custom-dark: #000000;
JSON
{
  "hex": "#1b522f",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 141.818,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39221,
    "c": 0.08269,
    "h": 152.4
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#1B522F
secondary
#88416E
accent
#4EA7DA
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1B522F

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

Preview Lab → · Contrast checker → · Palette generator →

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