#1F6919#1F6919

#1F6919 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.134 H 142.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#1F6919
RGBrgb(31, 105, 25)
HSLhsl(116, 62%, 25%)
HSVhsv(116, 76%, 41%)
CMYKcmyk(70.5%, 0%, 76.2%, 58.8%)
CIE-LABlab(38.66, -38.86, 36.40)
CIE-LCHlch(38.66, 53.25, 136.87°)
OKLaboklab(45.84% -0.1058 0.0826)
OKLCHoklch(45.84% 0.134 142)
XYZxyz(5.7918, 10.4640, 2.6340)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6919 #631969
analogous
#476919 #1F6919 #19693B
triadic
#1F6919 #191F69 #69191F
tetradic
#1F6919 #194769 #631969 #693B19
square
#1F6919 #194769 #631969 #693B19
split-complementary
#1F6919 #3B1969 #691947
monochromatic
#071906 #10380D #1F6919 #2E9A25 #3CCC31

Accessibility & contrast

On white

6.79
#1F6919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6919
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6919#FFFFFF#000000##FFFFFF
##1F69191.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0B
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#0F6659
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f6919;
/* rgb */ color: rgb(31, 105, 25);
/* oklch */ color: oklch(45.8% 0.134 142.0);
Tailwind
colors: {
  custom: {
    50: '#66955b',
    500: '#1f6919',
    950: '#000000',
  },
}
SCSS
$custom: #1f6919;
$custom-light: #66955b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6919",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 115.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.13426,
    "h": 142
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#1F6919
secondary
#983F9F
accent
#43E5D9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6919

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

Preview Lab → · Contrast checker → · Palette generator →

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