#1F7114#1F7114

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

Color values

HEX#1F7114
RGBrgb(31, 113, 20)
HSLhsl(113, 70%, 26%)
HSVhsv(113, 82%, 44%)
CMYKcmyk(72.6%, 0%, 82.3%, 55.7%)
CIE-LABlab(41.46, -42.18, 41.03)
CIE-LCHlch(41.46, 58.85, 135.79°)
OKLaboklab(48.15% -0.1151 0.0915)
OKLCHoklch(48.15% 0.147 141.5)
XYZxyz(6.5961, 12.1514, 2.6595)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7114 #661471
analogous
#4D7114 #1F7114 #147137
triadic
#1F7114 #141F71 #71141F
tetradic
#1F7114 #144D71 #661471 #713714
square
#1F7114 #144D71 #661471 #713714
split-complementary
#1F7114 #371471 #71144D
monochromatic
#071A05 #113D0B #1F7114 #2DA51D #3CD927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7114#FFFFFF#000000##FFFFFF
##1F71141.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)
#6A5F1F
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f7114;
/* rgb */ color: rgb(31, 113, 20);
/* oklch */ color: oklch(48.1% 0.147 141.5);
Tailwind
colors: {
  custom: {
    50: '#699b5a',
    500: '#1f7114',
    950: '#000000',
  },
}
SCSS
$custom: #1f7114;
$custom-light: #699b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7114",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 112.903,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.14706,
    "h": 141.5
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#1F7114
secondary
#9A39A7
accent
#3BEDD8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7114

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

Preview Lab → · Contrast checker → · Palette generator →

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