#1F5D13#1F5D13

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

Color values

HEX#1F5D13
RGBrgb(31, 93, 19)
HSLhsl(110, 66%, 22%)
HSVhsv(110, 80%, 36%)
CMYKcmyk(66.7%, 0%, 79.6%, 63.5%)
CIE-LABlab(34.33, -34.76, 34.45)
CIE-LCHlch(34.33, 48.94, 135.26°)
OKLaboklab(42.24% -0.0951 0.0776)
OKLCHoklch(42.24% 0.123 140.8)
XYZxyz(4.5967, 8.1666, 1.9500)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D13 #51135D
analogous
#445D13 #1F5D13 #135D2C
triadic
#1F5D13 #131F5D #5D131F
tetradic
#1F5D13 #13445D #51135D #5D2C13
square
#1F5D13 #13445D #51135D #5D2C13
split-complementary
#1F5D13 #2C135D #5D1344
monochromatic
#081905 #0E2A09 #1F5D13 #30901D #41C328

Accessibility & contrast

On white

7.97
#1F5D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5D13
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D13#FFFFFF#000000##FFFFFF
##1F5D131.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605405
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#155A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5d13;
/* rgb */ color: rgb(31, 93, 19);
/* oklch */ color: oklch(42.2% 0.123 140.8);
Tailwind
colors: {
  custom: {
    50: '#648c56',
    500: '#1f5d13',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d13;
$custom-light: #648c56;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d13",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 110.27,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.12278,
    "h": 140.8
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#1F5D13
secondary
#863795
accent
#3FE9CD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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