#1F6E2F#1F6E2F

#1F6E2F is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.6% C 0.123 H 146.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#1F6E2F
RGBrgb(31, 110, 47)
HSLhsl(132, 56%, 28%)
HSVhsv(132, 72%, 43%)
CMYKcmyk(71.8%, 0%, 57.3%, 56.9%)
CIE-LABlab(40.65, -38.12, 28.09)
CIE-LCHlch(40.65, 47.35, 143.62°)
OKLaboklab(47.56% -0.1028 0.0672)
OKLCHoklch(47.56% 0.123 146.8)
XYZxyz(6.6536, 11.6477, 4.5863)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6E2F #6E1F5E
analogous
#366E1F #1F6E2F #1F6E56
triadic
#1F6E2F #2F1F6E #6E2F1F
tetradic
#1F6E2F #1F366E #6E1F5E #6E561F
square
#1F6E2F #1F366E #6E1F5E #6E561F
split-complementary
#1F6E2F #561F6E #6E1F36
monochromatic
#07180A #123E1B #1F6E2F #2C9E43 #3FC95B

Accessibility & contrast

On white

6.31
#1F6E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#1F6E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6E2F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6E2F#FFFFFF#000000##FFFFFF
##1F6E2F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6429
Deuteranopia (green-blind)
#665D34
Tritanopia (blue-blind)
#016B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6e2f;
/* rgb */ color: rgb(31, 110, 47);
/* oklch */ color: oklch(47.6% 0.123 146.8);
Tailwind
colors: {
  custom: {
    50: '#669869',
    500: '#1f6e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1f6e2f;
$custom-light: #669869;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6e2f",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 132.152,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4756,
    "c": 0.12283,
    "h": 146.8
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#1F6E2F
secondary
#A24790
accent
#48C1DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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