#1F6A0F#1F6A0F

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

Color values

HEX#1F6A0F
RGBrgb(31, 106, 15)
HSLhsl(109, 75%, 24%)
HSVhsv(109, 86%, 42%)
CMYKcmyk(70.8%, 0%, 85.8%, 58.4%)
CIE-LABlab(38.96, -39.97, 40.29)
CIE-LCHlch(38.96, 56.76, 134.77°)
OKLaboklab(46.07% -0.1094 0.0892)
OKLCHoklch(46.07% 0.141 140.8)
XYZxyz(5.8050, 10.6333, 2.1983)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6A0F #5A0F6A
analogous
#4C6A0F #1F6A0F #0F6A2C
triadic
#1F6A0F #0F1F6A #6A0F1F
tetradic
#1F6A0F #0F4C6A #5A0F6A #6A2C0F
square
#1F6A0F #0F4C6A #5A0F6A #6A2C0F
split-complementary
#1F6A0F #2C0F6A #6A0F4C
monochromatic
#081B04 #0F3407 #1F6A0F #2FA017 #3ED51E

Accessibility & contrast

On white

6.72
#1F6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6A0F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6A0F#FFFFFF#000000##FFFFFF
##1F6A0F1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f6a0f;
/* rgb */ color: rgb(31, 106, 15);
/* oklch */ color: oklch(46.1% 0.141 140.8);
Tailwind
colors: {
  custom: {
    50: '#679557',
    500: '#1f6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #1f6a0f;
$custom-light: #679557;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6a0f",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 109.451,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46065,
    "c": 0.14117,
    "h": 140.8
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#1F6A0F
secondary
#8F32A2
accent
#36F2D1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #1F6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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