#1F5D11#1F5D11

#1F5D11 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.124 H 140.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#1F5D11
RGBrgb(31, 93, 17)
HSLhsl(109, 69%, 22%)
HSVhsv(109, 82%, 36%)
CMYKcmyk(66.7%, 0%, 81.7%, 63.5%)
CIE-LABlab(34.31, -34.92, 35.20)
CIE-LCHlch(34.31, 49.58, 134.77°)
OKLaboklab(42.22% -0.0957 0.0789)
OKLCHoklch(42.22% 0.124 140.5)
XYZxyz(4.5804, 8.1600, 1.8639)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D11 #4F115D
analogous
#455D11 #1F5D11 #115D29
triadic
#1F5D11 #111F5D #5D111F
tetradic
#1F5D11 #11455D #4F115D #5D2911
square
#1F5D11 #11455D #4F115D #5D2911
split-complementary
#1F5D11 #29115D #5D1145
monochromatic
#091A05 #0E2908 #1F5D11 #30911A #41C424

Accessibility & contrast

On white

7.98
#1F5D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1F5D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D11
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D11#FFFFFF#000000##FFFFFF
##1F5D111.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#165A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5d11;
/* rgb */ color: rgb(31, 93, 17);
/* oklch */ color: oklch(42.2% 0.124 140.5);
Tailwind
colors: {
  custom: {
    50: '#648c55',
    500: '#1f5d11',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d11;
$custom-light: #648c55;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d11",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 108.947,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.12402,
    "h": 140.5
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#1F5D11
secondary
#843496
accent
#3CECCB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5D11

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

Preview Lab → · Contrast checker → · Palette generator →

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