#1B520F#1B520F

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

Color values

HEX#1B520F
RGBrgb(27, 82, 15)
HSLhsl(109, 69%, 19%)
HSVhsv(109, 82%, 32%)
CMYKcmyk(67.1%, 0%, 81.7%, 67.8%)
CIE-LABlab(30.16, -31.75, 31.85)
CIE-LCHlch(30.16, 44.97, 134.91°)
OKLaboklab(38.75% -0.087 0.0716)
OKLCHoklch(38.75% 0.113 140.5)
XYZxyz(3.5553, 6.3018, 1.4808)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B520F #460F52
analogous
#3D520F #1B520F #0F5225
triadic
#1B520F #0F1B52 #520F1B
tetradic
#1B520F #0F3D52 #460F52 #52250F
square
#1B520F #0F3D52 #460F52 #52250F
split-complementary
#1B520F #250F52 #520F3D
monochromatic
#091A05 #0A1E06 #1B520F #2C8618 #3DB922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B520F#FFFFFF#000000##FFFFFF
##1B520F1.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)
#544A03
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#134F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b520f;
/* rgb */ color: rgb(27, 82, 15);
/* oklch */ color: oklch(38.7% 0.113 140.5);
Tailwind
colors: {
  custom: {
    50: '#608353',
    500: '#1b520f',
    950: '#000000',
  },
}
SCSS
$custom: #1b520f;
$custom-light: #608353;
$custom-dark: #000000;
JSON
{
  "hex": "#1b520f",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 109.254,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.11269,
    "h": 140.5
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#1B520F
secondary
#7C318C
accent
#3CECCC
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B02
muted
#797C78

Preview Lab

Preview with #1B520F

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

Preview Lab → · Contrast checker → · Palette generator →

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