#1F6312#1F6312

#1F6312 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.0% C 0.131 H 140.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#1F6312
RGBrgb(31, 99, 18)
HSLhsl(110, 69%, 23%)
HSVhsv(110, 82%, 39%)
CMYKcmyk(68.7%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.48, -37.16, 36.94)
CIE-LCHlch(36.48, 52.40, 135.17°)
OKLaboklab(44.02% -0.1017 0.0827)
OKLCHoklch(44.02% 0.131 140.9)
XYZxyz(5.1358, 9.2581, 2.0885)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6312 #561263
analogous
#476312 #1F6312 #12632D
triadic
#1F6312 #121F63 #63121F
tetradic
#1F6312 #124763 #561263 #632D12
square
#1F6312 #124763 #561263 #632D12
split-complementary
#1F6312 #2D1263 #631247
monochromatic
#081A05 #0F2F09 #1F6312 #2F971B #3FCB25

Accessibility & contrast

On white

7.36
#1F6312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1F6312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6312
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6312#FFFFFF#000000##FFFFFF
##1F63121.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#136054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f6312;
/* rgb */ color: rgb(31, 99, 18);
/* oklch */ color: oklch(44.0% 0.131 140.9);
Tailwind
colors: {
  custom: {
    50: '#659057',
    500: '#1f6312',
    950: '#000000',
  },
}
SCSS
$custom: #1f6312;
$custom-light: #659057;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6312",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 110.37,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.13105,
    "h": 140.9
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#1F6312
secondary
#8B369B
accent
#3CECD0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D03
muted
#7A7D78

Preview Lab

Preview with #1F6312

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

Preview Lab → · Contrast checker → · Palette generator →

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