#1F6E2C#1F6E2C

#1F6E2C is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.126 H 146.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#1F6E2C
RGBrgb(31, 110, 44)
HSLhsl(130, 56%, 28%)
HSVhsv(130, 72%, 43%)
CMYKcmyk(71.8%, 0%, 60%, 56.9%)
CIE-LABlab(40.61, -38.56, 29.61)
CIE-LCHlch(40.61, 48.62, 142.47°)
OKLaboklab(47.52% -0.1041 0.0703)
OKLCHoklch(47.52% 0.126 146)
XYZxyz(6.5952, 11.6243, 4.2785)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6E2C #6E1F61
analogous
#3A6E1F #1F6E2C #1F6E53
triadic
#1F6E2C #2C1F6E #6E2C1F
tetradic
#1F6E2C #1F3A6E #6E1F61 #6E531F
square
#1F6E2C #1F3A6E #6E1F61 #6E531F
split-complementary
#1F6E2C #531F6E #6E1F3A
monochromatic
#07180A #123E19 #1F6E2C #2C9E3F #3FC955

Accessibility & contrast

On white

6.32
#1F6E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6E2C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6E2C#FFFFFF#000000##FFFFFF
##1F6E2C1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706426
Deuteranopia (green-blind)
#665D31
Tritanopia (blue-blind)
#026B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6e2c;
/* rgb */ color: rgb(31, 110, 44);
/* oklch */ color: oklch(47.5% 0.126 146.0);
Tailwind
colors: {
  custom: {
    50: '#679867',
    500: '#1f6e2c',
    950: '#000000',
  },
}
SCSS
$custom: #1f6e2c;
$custom-light: #679867;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6e2c",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 44
  },
  "hsl": {
    "h": 129.873,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.12562,
    "h": 146
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#1F6E2C
secondary
#A24793
accent
#48C7DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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