#1F6912#1F6912

#1F6912 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.138 H 141.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#1F6912
RGBrgb(31, 105, 18)
HSLhsl(111, 71%, 24%)
HSVhsv(111, 83%, 41%)
CMYKcmyk(70.5%, 0%, 82.9%, 58.8%)
CIE-LABlab(38.62, -39.41, 39.00)
CIE-LCHlch(38.62, 55.45, 135.30°)
OKLaboklab(45.79% -0.1077 0.087)
OKLCHoklch(45.79% 0.138 141.1)
XYZxyz(5.7255, 10.4375, 2.2851)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6912 #5C1269
analogous
#4B6912 #1F6912 #126930
triadic
#1F6912 #121F69 #69121F
tetradic
#1F6912 #124B69 #5C1269 #693012
square
#1F6912 #124B69 #5C1269 #693012
split-complementary
#1F6912 #301269 #69124B
monochromatic
#081A04 #103509 #1F6912 #2E9D1B #3ED124

Accessibility & contrast

On white

6.80
#1F6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#1F6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6912
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6912#FFFFFF#000000##FFFFFF
##1F69121.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#106559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f6912;
/* rgb */ color: rgb(31, 105, 18);
/* oklch */ color: oklch(45.8% 0.138 141.1);
Tailwind
colors: {
  custom: {
    50: '#679558',
    500: '#1f6912',
    950: '#000000',
  },
}
SCSS
$custom: #1f6912;
$custom-light: #679558;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6912",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 111.034,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.13846,
    "h": 141.1
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#1F6912
secondary
#9136A1
accent
#3AEDD3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6912

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

Preview Lab → · Contrast checker → · Palette generator →

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