#1F6E1F#1F6E1F

#1F6E1F is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.136 H 143.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#1F6E1F
RGBrgb(31, 110, 31)
HSLhsl(120, 56%, 28%)
HSVhsv(120, 72%, 43%)
CMYKcmyk(71.8%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.48, -40.15, 35.74)
CIE-LCHlch(40.48, 53.75, 138.33°)
OKLaboklab(47.36% -0.109 0.082)
OKLCHoklch(47.36% 0.136 143)
XYZxyz(6.3879, 11.5414, 3.1871)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6E1F #6E1F6E
analogous
#466E1F #1F6E1F #1F6E46
triadic
#1F6E1F #1F1F6E #6E1F1F
tetradic
#1F6E1F #1F466E #6E1F6E #6E461F
square
#1F6E1F #1F466E #6E1F6E #6E461F
split-complementary
#1F6E1F #461F6E #6E1F46
monochromatic
#071807 #123E12 #1F6E1F #2C9E2C #3FC93F

Accessibility & contrast

On white

6.35
#1F6E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#1F6E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6E1F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6E1F#FFFFFF#000000##FFFFFF
##1F6E1F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#096B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6e1f;
/* rgb */ color: rgb(31, 110, 31);
/* oklch */ color: oklch(47.4% 0.136 143.0);
Tailwind
colors: {
  custom: {
    50: '#67985f',
    500: '#1f6e1f',
    950: '#000000',
  },
}
SCSS
$custom: #1f6e1f;
$custom-light: #67985f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6e1f",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.13643,
    "h": 143
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#1F6E1F
secondary
#A247A2
accent
#48DFDF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F6E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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