#1B5F0F#1B5F0F

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

Color values

HEX#1B5F0F
RGBrgb(27, 95, 15)
HSLhsl(111, 73%, 22%)
HSVhsv(111, 84%, 37%)
CMYKcmyk(71.6%, 0%, 84.2%, 62.7%)
CIE-LABlab(34.91, -36.81, 36.45)
CIE-LCHlch(34.91, 51.81, 135.28°)
OKLaboklab(42.68% -0.1006 0.0812)
OKLCHoklch(42.68% 0.129 141.1)
XYZxyz(4.6302, 8.4514, 1.8391)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F0F #530F5F
analogous
#435F0F #1B5F0F #0F5F2B
triadic
#1B5F0F #0F1B5F #5F0F1B
tetradic
#1B5F0F #0F435F #530F5F #5F2B0F
square
#1B5F0F #0F435F #530F5F #5F2B0F
split-complementary
#1B5F0F #2B0F5F #5F0F43
monochromatic
#081A04 #0C2A07 #1B5F0F #2A9417 #39C920

Accessibility & contrast

On white

7.81
#1B5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5F0F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F0F#FFFFFF#000000##FFFFFF
##1B5F0F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b5f0f;
/* rgb */ color: rgb(27, 95, 15);
/* oklch */ color: oklch(42.7% 0.129 141.1);
Tailwind
colors: {
  custom: {
    50: '#638d55',
    500: '#1b5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f0f;
$custom-light: #638d55;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f0f",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 111,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.12933,
    "h": 141.1
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#1B5F0F
secondary
#893298
accent
#38EFD4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1B5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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