#1F5F13#1F5F13

#1F5F13 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.8% C 0.125 H 140.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#1F5F13
RGBrgb(31, 95, 19)
HSLhsl(111, 67%, 22%)
HSVhsv(111, 80%, 37%)
CMYKcmyk(67.4%, 0%, 80%, 62.7%)
CIE-LABlab(35.05, -35.55, 35.16)
CIE-LCHlch(35.05, 50.00, 135.31°)
OKLaboklab(42.84% -0.0972 0.0791)
OKLCHoklch(42.84% 0.125 140.9)
XYZxyz(4.7746, 8.5223, 2.0093)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F13 #53135F
analogous
#455F13 #1F5F13 #135F2D
triadic
#1F5F13 #131F5F #5F131F
tetradic
#1F5F13 #13455F #53135F #5F2D13
square
#1F5F13 #13455F #53135F #5F2D13
split-complementary
#1F5F13 #2D135F #5F1345
monochromatic
#081A05 #0E2C09 #1F5F13 #30921D #40C527

Accessibility & contrast

On white

7.76
#1F5F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F5F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5F13
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F13#FFFFFF#000000##FFFFFF
##1F5F131.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#155C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5f13;
/* rgb */ color: rgb(31, 95, 19);
/* oklch */ color: oklch(42.8% 0.125 140.9);
Tailwind
colors: {
  custom: {
    50: '#648d57',
    500: '#1f5f13',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f13;
$custom-light: #648d57;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f13",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 110.526,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42835,
    "c": 0.12537,
    "h": 140.9
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

primary
#1F5F13
secondary
#883797
accent
#3EEACF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F5F13

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

Preview Lab → · Contrast checker → · Palette generator →

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