#1F7115#1F7115

#1F7115 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.147 H 141.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#1F7115
RGBrgb(31, 113, 21)
HSLhsl(113, 69%, 26%)
HSVhsv(113, 81%, 44%)
CMYKcmyk(72.6%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.46, -42.11, 40.70)
CIE-LCHlch(41.46, 58.56, 135.98°)
OKLaboklab(48.15% -0.1149 0.091)
OKLCHoklch(48.15% 0.147 141.6)
XYZxyz(6.6052, 12.1550, 2.7074)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7115 #671571
analogous
#4D7115 #1F7115 #157139
triadic
#1F7115 #151F71 #71151F
tetradic
#1F7115 #154D71 #671571 #713915
square
#1F7115 #154D71 #671571 #713915
split-complementary
#1F7115 #391571 #71154D
monochromatic
#071A05 #113D0B #1F7115 #2DA51F #3CD729

Accessibility & contrast

On white

6.12
#1F7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#1F7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7115
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7115#FFFFFF#000000##FFFFFF
##1F71151.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f7115;
/* rgb */ color: rgb(31, 113, 21);
/* oklch */ color: oklch(48.2% 0.147 141.6);
Tailwind
colors: {
  custom: {
    50: '#699b5a',
    500: '#1f7115',
    950: '#000000',
  },
}
SCSS
$custom: #1f7115;
$custom-light: #699b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7115",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 113.478,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48154,
    "c": 0.14653,
    "h": 141.6
  },
  "luminance": 0.12156
}

Semantic roles & 50–950 ramp

primary
#1F7115
secondary
#9B3BA7
accent
#3CEBD8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7115

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

Preview Lab → · Contrast checker → · Palette generator →

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