#1B5D0F#1B5D0F

#1B5D0F is a dark, vivid green. Relative luminance 0.081; OKLCH L 42.1% C 0.127 H 141.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1B5D0F
RGBrgb(27, 93, 15)
HSLhsl(111, 72%, 21%)
HSVhsv(111, 84%, 36%)
CMYKcmyk(71%, 0%, 83.9%, 63.5%)
CIE-LABlab(34.18, -36.06, 35.76)
CIE-LCHlch(34.18, 50.79, 135.24°)
OKLaboklab(42.08% -0.0986 0.0798)
OKLCHoklch(42.08% 0.127 141)
XYZxyz(4.4523, 8.0957, 1.7798)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5D0F #510F5D
analogous
#425D0F #1B5D0F #0F5D2A
triadic
#1B5D0F #0F1B5D #5D0F1B
tetradic
#1B5D0F #0F425D #510F5D #5D2A0F
square
#1B5D0F #0F425D #510F5D #5D2A0F
split-complementary
#1B5D0F #2A0F5D #5D0F42
monochromatic
#081A04 #0C2806 #1B5D0F #2A9217 #3AC620

Accessibility & contrast

On white

8.02
#1B5D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1B5D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5D0F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5D0F#FFFFFF#000000##FFFFFF
##1B5D0F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#0E5A4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5d0f;
/* rgb */ color: rgb(27, 93, 15);
/* oklch */ color: oklch(42.1% 0.127 141.0);
Tailwind
colors: {
  custom: {
    50: '#628c54',
    500: '#1b5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #1b5d0f;
$custom-light: #628c54;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5d0f",
  "rgb": {
    "r": 27,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 110.769,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.12684,
    "h": 141
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#1B5D0F
secondary
#873196
accent
#39EFD3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1B5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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