#1F6415#1F6415

#1F6415 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.3% C 0.131 H 141.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#1F6415
RGBrgb(31, 100, 21)
HSLhsl(112, 65%, 24%)
HSVhsv(112, 79%, 39%)
CMYKcmyk(69%, 0%, 79%, 60.8%)
CIE-LABlab(36.85, -37.31, 36.18)
CIE-LCHlch(36.85, 51.97, 135.88°)
OKLaboklab(44.34% -0.1019 0.0816)
OKLCHoklch(44.34% 0.131 141.3)
XYZxyz(5.2573, 9.4593, 2.2581)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6415 #5A1564
analogous
#466415 #1F6415 #156432
triadic
#1F6415 #151F64 #64151F
tetradic
#1F6415 #154664 #5A1564 #643215
square
#1F6415 #154664 #5A1564 #643215
split-complementary
#1F6415 #321564 #641546
monochromatic
#081905 #0F310A #1F6415 #2F9720 #3EC92A

Accessibility & contrast

On white

7.26
#1F6415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F6415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6415
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6415#FFFFFF#000000##FFFFFF
##1F64151.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A06
Deuteranopia (green-blind)
#5E551D
Tritanopia (blue-blind)
#126155
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f6415;
/* rgb */ color: rgb(31, 100, 21);
/* oklch */ color: oklch(44.3% 0.131 141.3);
Tailwind
colors: {
  custom: {
    50: '#659158',
    500: '#1f6415',
    950: '#000000',
  },
}
SCSS
$custom: #1f6415;
$custom-light: #659158;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6415",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 112.405,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44335,
    "c": 0.13051,
    "h": 141.3
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#1F6415
secondary
#8F3A9B
accent
#40E8D3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F6415

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

Preview Lab → · Contrast checker → · Palette generator →

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