#1B5F11#1B5F11

#1B5F11 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.128 H 141.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#1B5F11
RGBrgb(27, 95, 17)
HSLhsl(112, 70%, 22%)
HSVhsv(112, 82%, 37%)
CMYKcmyk(71.6%, 0%, 82.1%, 62.7%)
CIE-LABlab(34.92, -36.67, 35.75)
CIE-LCHlch(34.92, 51.21, 135.73°)
OKLaboklab(42.69% -0.1001 0.0801)
OKLCHoklch(42.69% 0.128 141.3)
XYZxyz(4.6451, 8.4574, 1.9179)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F11 #55115F
analogous
#425F11 #1B5F11 #115F2E
triadic
#1B5F11 #111B5F #5F111B
tetradic
#1B5F11 #11425F #55115F #5F2E11
square
#1B5F11 #11425F #55115F #5F2E11
split-complementary
#1B5F11 #2E115F #5F1142
monochromatic
#071A05 #0C2B08 #1B5F11 #2A931A #39C724

Accessibility & contrast

On white

7.80
#1B5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1B5F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5F11
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F11#FFFFFF#000000##FFFFFF
##1B5F111.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625501
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#0D5C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b5f11;
/* rgb */ color: rgb(27, 95, 17);
/* oklch */ color: oklch(42.7% 0.128 141.3);
Tailwind
colors: {
  custom: {
    50: '#638d56',
    500: '#1b5f11',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f11;
$custom-light: #638d56;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f11",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 112.308,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.12821,
    "h": 141.3
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#1B5F11
secondary
#8B3498
accent
#3BECD6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1B5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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