#1B5013#1B5013

#1B5013 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.107 H 141.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#1B5013
RGBrgb(27, 80, 19)
HSLhsl(112, 62%, 19%)
HSVhsv(112, 76%, 31%)
CMYKcmyk(66.3%, 0%, 76.3%, 68.6%)
CIE-LABlab(29.46, -30.57, 29.42)
CIE-LCHlch(29.46, 42.43, 136.10°)
OKLaboklab(38.17% -0.0835 0.0672)
OKLCHoklch(38.17% 0.107 141.2)
XYZxyz(3.4380, 6.0170, 1.5962)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5013 #481350
analogous
#3A5013 #1B5013 #13502A
triadic
#1B5013 #131B50 #50131B
tetradic
#1B5013 #133A50 #481350 #502A13
square
#1B5013 #133A50 #481350 #502A13
split-complementary
#1B5013 #2A1350 #50133A
monochromatic
#081906 #0A1F07 #1B5013 #2C811F #3CB32A

Accessibility & contrast

On white

9.53
#1B5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1B5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5013
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5013#FFFFFF#000000##FFFFFF
##1B50131.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480A
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#134D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b5013;
/* rgb */ color: rgb(27, 80, 19);
/* oklch */ color: oklch(38.2% 0.107 141.2);
Tailwind
colors: {
  custom: {
    50: '#5f8255',
    500: '#1b5013',
    950: '#000000',
  },
}
SCSS
$custom: #1b5013;
$custom-light: #5f8255;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5013",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 112.131,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38173,
    "c": 0.10719,
    "h": 141.2
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#1B5013
secondary
#7E3689
accent
#43E5D0
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B5013

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

Preview Lab → · Contrast checker → · Palette generator →

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