#1F6115#1F6115

#1F6115 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.4% C 0.127 H 141.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#1F6115
RGBrgb(31, 97, 21)
HSLhsl(112, 64%, 23%)
HSVhsv(112, 78%, 38%)
CMYKcmyk(68%, 0%, 78.4%, 62%)
CIE-LABlab(35.78, -36.16, 35.10)
CIE-LCHlch(35.78, 50.39, 135.85°)
OKLaboklab(43.45% -0.0988 0.0793)
OKLCHoklch(43.45% 0.127 141.2)
XYZxyz(4.9749, 8.8943, 2.1639)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6115 #571561
analogous
#456115 #1F6115 #156131
triadic
#1F6115 #151F61 #61151F
tetradic
#1F6115 #154561 #571561 #613115
square
#1F6115 #154561 #571561 #613115
split-complementary
#1F6115 #311561 #611545
monochromatic
#081905 #0F2F0A #1F6115 #2F9320 #3FC62B

Accessibility & contrast

On white

7.56
#1F6115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1F6115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6115
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6115#FFFFFF#000000##FFFFFF
##1F61151.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645707
Deuteranopia (green-blind)
#5C521D
Tritanopia (blue-blind)
#135E52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f6115;
/* rgb */ color: rgb(31, 97, 21);
/* oklch */ color: oklch(43.4% 0.127 141.2);
Tailwind
colors: {
  custom: {
    50: '#658f58',
    500: '#1f6115',
    950: '#000000',
  },
}
SCSS
$custom: #1f6115;
$custom-light: #658f58;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6115",
  "rgb": {
    "r": 31,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 112.105,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43445,
    "c": 0.12667,
    "h": 141.2
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#1F6115
secondary
#8C3A98
accent
#40E7D1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #1F6115

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

Preview Lab → · Contrast checker → · Palette generator →

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