#1F5B11#1F5B11

#1F5B11 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.121 H 140.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1F5B11
RGBrgb(31, 91, 17)
HSLhsl(109, 69%, 21%)
HSVhsv(109, 81%, 36%)
CMYKcmyk(65.9%, 0%, 81.3%, 64.3%)
CIE-LABlab(33.59, -34.13, 34.50)
CIE-LCHlch(33.59, 48.53, 134.69°)
OKLaboklab(41.63% -0.0935 0.0774)
OKLCHoklch(41.63% 0.121 140.4)
XYZxyz(4.4071, 7.8135, 1.8061)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B11 #4D115B
analogous
#445B11 #1F5B11 #115B28
triadic
#1F5B11 #111F5B #5B111F
tetradic
#1F5B11 #11445B #4D115B #5B2811
square
#1F5B11 #11445B #4D115B #5B2811
split-complementary
#1F5B11 #28115B #5B1144
monochromatic
#091A05 #0D2707 #1F5B11 #318F1B #42C224

Accessibility & contrast

On white

8.19
#1F5B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1F5B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B11
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B11#FFFFFF#000000##FFFFFF
##1F5B111.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#16584D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5b11;
/* rgb */ color: rgb(31, 91, 17);
/* oklch */ color: oklch(41.6% 0.121 140.4);
Tailwind
colors: {
  custom: {
    50: '#648a55',
    500: '#1f5b11',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b11;
$custom-light: #648a55;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b11",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 108.649,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.12143,
    "h": 140.4
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#1F5B11
secondary
#823494
accent
#3CEBCA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5B11

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

Preview Lab → · Contrast checker → · Palette generator →

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