#1F6A12#1F6A12

#1F6A12 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.140 H 141.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#1F6A12
RGBrgb(31, 106, 18)
HSLhsl(111, 71%, 24%)
HSVhsv(111, 83%, 42%)
CMYKcmyk(70.8%, 0%, 83%, 58.4%)
CIE-LABlab(38.97, -39.78, 39.34)
CIE-LCHlch(38.97, 55.95, 135.32°)
OKLaboklab(46.08% -0.1087 0.0877)
OKLCHoklch(46.08% 0.14 141.1)
XYZxyz(5.8280, 10.6424, 2.3192)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6A12 #5D126A
analogous
#4B6A12 #1F6A12 #126A31
triadic
#1F6A12 #121F6A #6A121F
tetradic
#1F6A12 #124B6A #5D126A #6A3112
square
#1F6A12 #124B6A #5D126A #6A3112
split-complementary
#1F6A12 #31126A #6A124B
monochromatic
#081A04 #103609 #1F6A12 #2E9E1B #3ED324

Accessibility & contrast

On white

6.71
#1F6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#1F6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6A12
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6A12#FFFFFF#000000##FFFFFF
##1F6A121.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#10665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f6a12;
/* rgb */ color: rgb(31, 106, 18);
/* oklch */ color: oklch(46.1% 0.140 141.1);
Tailwind
colors: {
  custom: {
    50: '#679558',
    500: '#1f6a12',
    950: '#000000',
  },
}
SCSS
$custom: #1f6a12;
$custom-light: #679558;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6a12",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 111.136,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.13968,
    "h": 141.1
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#1F6A12
secondary
#9236A2
accent
#3AEED3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #1F6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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