#1F6914#1F6914

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

Color values

HEX#1F6914
RGBrgb(31, 105, 20)
HSLhsl(112, 68%, 25%)
HSVhsv(112, 81%, 41%)
CMYKcmyk(70.5%, 0%, 81%, 58.8%)
CIE-LABlab(38.63, -39.27, 38.31)
CIE-LCHlch(38.63, 54.86, 135.71°)
OKLaboklab(45.8% -0.1072 0.0858)
OKLCHoklch(45.8% 0.137 141.3)
XYZxyz(5.7426, 10.4444, 2.3750)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6914 #5E1469
analogous
#4A6914 #1F6914 #146933
triadic
#1F6914 #141F69 #69141F
tetradic
#1F6914 #144A69 #5E1469 #693314
square
#1F6914 #144A69 #5E1469 #693314
split-complementary
#1F6914 #331469 #69144A
monochromatic
#081A05 #10360A #1F6914 #2E9C1E #3DD028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6914#FFFFFF#000000##FFFFFF
##1F69141.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)
#6C5F02
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#106559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f6914;
/* rgb */ color: rgb(31, 105, 20);
/* oklch */ color: oklch(45.8% 0.137 141.3);
Tailwind
colors: {
  custom: {
    50: '#679559',
    500: '#1f6914',
    950: '#000000',
  },
}
SCSS
$custom: #1f6914;
$custom-light: #679559;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6914",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 112.235,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45803,
    "c": 0.13737,
    "h": 141.3
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#1F6914
secondary
#9339A0
accent
#3DEBD4
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6914

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

Preview Lab → · Contrast checker → · Palette generator →

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