#1B511E#1B511E

#1B511E is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.099 H 144.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#1B511E
RGBrgb(27, 81, 30)
HSLhsl(123, 50%, 21%)
HSVhsv(123, 67%, 32%)
CMYKcmyk(66.7%, 0%, 63%, 68.2%)
CIE-LABlab(29.94, -29.66, 24.44)
CIE-LCHlch(29.94, 38.43, 140.51°)
OKLaboklab(38.61% -0.0804 0.0579)
OKLCHoklch(38.61% 0.099 144.3)
XYZxyz(3.6286, 6.2113, 2.2357)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B511E #511B4E
analogous
#33511B #1B511E #1B5139
triadic
#1B511E #1E1B51 #511E1B
tetradic
#1B511E #1B3351 #511B4E #51391B
square
#1B511E #1B3351 #511B4E #51391B
split-complementary
#1B511E #391B51 #511B33
monochromatic
#081708 #0C230D #1B511E #2A7F2F #3AAD40

Accessibility & contrast

On white

9.36
#1B511E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B511E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B511E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B511E#FFFFFF#000000##FFFFFF
##1B511E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534919
Deuteranopia (green-blind)
#4C4522
Tritanopia (blue-blind)
#104F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b511e;
/* rgb */ color: rgb(27, 81, 30);
/* oklch */ color: oklch(38.6% 0.099 144.3);
Tailwind
colors: {
  custom: {
    50: '#5f825b',
    500: '#1b511e',
    950: '#000000',
  },
}
SCSS
$custom: #1b511e;
$custom-light: #5f825b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b511e",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 123.333,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3861,
    "c": 0.09907,
    "h": 144.3
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#1B511E
secondary
#874183
accent
#4ED2DA
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1B511E

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

Preview Lab → · Contrast checker → · Palette generator →

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