#1B520D#1B520D

#1B520D is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.114 H 140.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1B520D
RGBrgb(27, 82, 13)
HSLhsl(108, 73%, 19%)
HSVhsv(108, 84%, 32%)
CMYKcmyk(67.1%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.15, -31.91, 32.61)
CIE-LCHlch(30.15, 45.62, 134.38°)
OKLaboklab(38.73% -0.0875 0.0729)
OKLCHoklch(38.73% 0.114 140.2)
XYZxyz(3.5418, 6.2963, 1.4094)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B520D #440D52
analogous
#3D520D #1B520D #0D5221
triadic
#1B520D #0D1B52 #520D1B
tetradic
#1B520D #0D3D52 #440D52 #52210D
square
#1B520D #0D3D52 #440D52 #52210D
split-complementary
#1B520D #210D52 #520D3D
monochromatic
#091A04 #0A1D05 #1B520D #2C8715 #3EBC1E

Accessibility & contrast

On white

9.29
#1B520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B520D
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B520D#FFFFFF#000000##FFFFFF
##1B520D1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A00
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#134F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b520d;
/* rgb */ color: rgb(27, 82, 13);
/* oklch */ color: oklch(38.7% 0.114 140.2);
Tailwind
colors: {
  custom: {
    50: '#608352',
    500: '#1b520d',
    950: '#000000',
  },
}
SCSS
$custom: #1b520d;
$custom-light: #608352;
$custom-dark: #000000;
JSON
{
  "hex": "#1b520d",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 107.826,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.11391,
    "h": 140.2
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#1B520D
secondary
#7A2E8D
accent
#38EFCA
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #1B520D

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

Preview Lab → · Contrast checker → · Palette generator →

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