#1F6F19#1F6F19

#1F6F19 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.142 H 142.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#1F6F19
RGBrgb(31, 111, 25)
HSLhsl(116, 63%, 27%)
HSVhsv(116, 77%, 44%)
CMYKcmyk(72.1%, 0%, 77.5%, 56.5%)
CIE-LABlab(40.78, -41.08, 38.55)
CIE-LCHlch(40.78, 56.34, 136.82°)
OKLaboklab(47.6% -0.1119 0.0871)
OKLCHoklch(47.6% 0.142 142.1)
XYZxyz(6.4246, 11.7297, 2.8450)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F19 #69196F
analogous
#4A6F19 #1F6F19 #196F3E
triadic
#1F6F19 #191F6F #6F191F
tetradic
#1F6F19 #194A6F #69196F #6F3E19
square
#1F6F19 #194A6F #69196F #6F3E19
split-complementary
#1F6F19 #3E196F #6F194A
monochromatic
#071906 #113D0E #1F6F19 #2DA124 #3DD132

Accessibility & contrast

On white

6.28
#1F6F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#1F6F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6F19
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F19#FFFFFF#000000##FFFFFF
##1F6F191.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726408
Deuteranopia (green-blind)
#685E22
Tritanopia (blue-blind)
#0B6B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6f19;
/* rgb */ color: rgb(31, 111, 25);
/* oklch */ color: oklch(47.6% 0.142 142.1);
Tailwind
colors: {
  custom: {
    50: '#68995c',
    500: '#1f6f19',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f19;
$custom-light: #68995c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f19",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 115.814,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.476,
    "c": 0.14177,
    "h": 142.1
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#1F6F19
secondary
#9D3FA4
accent
#42E6DB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F6F19

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

Preview Lab → · Contrast checker → · Palette generator →

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